Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let cloud code access user roles #9298

Open
mstniy opened this issue Sep 6, 2024 · 1 comment · May be fixed by #9299
Open

Let cloud code access user roles #9298

mstniy opened this issue Sep 6, 2024 · 1 comment · May be fixed by #9299
Labels
type:feature New feature or improvement of existing feature

Comments

@mstniy
Copy link
Contributor

mstniy commented Sep 6, 2024

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

Copy link

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!

@mtrezza mtrezza added the type:feature New feature or improvement of existing feature label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or improvement of existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants