Skip to content

Let cloud code access user roles #9298

Open
@mstniy

Description

@mstniy

New Feature / Enhancement Checklist

Current Limitation

For some cloud code (namely triggers), Parse internally knows the set of roles the user has access to, but does not provide this information to cloud code. We are in a situation where cloud code needs explicit access to the set of roles the user has, but we want to avoid having to do separate calls inside the cloud code.

Feature / Enhancement Description

Expose a field to cloud code that lets them get the set of roles the user has.

Example Use Case

Triggers which need to access the set of roles the user has can get this information without having to do separate calls to Parse.

Alternatives / Workarounds

Do new Parse calls inside the cloud code.

3rd Party References

None

Activity

parse-github-assistant

parse-github-assistant commented on Sep 6, 2024

@parse-github-assistant

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @mtrezza@mstniy

      Issue actions

        Let cloud code access user roles · Issue #9298 · parse-community/parse-server