We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given a role hierarchy of role:a -> role:b -> role:c role:a -> role:c
role:a -> role:b -> role:c
role:a -> role:c
When loading all the roles using Auth._loadRoles for role:a, role:c will be queried for twice.
Auth._loadRoles
role:a
role:c
This seems to be a change in ParseServer, as the role look up Parse.com is much faster when a large number of roles are used.
In my app with a user with 100 roles, ParseServer it will generate over 1000 database queries for _Role lookups for every request.
_Role
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Given a role hierarchy of
role:a -> role:b -> role:c
role:a -> role:c
When loading all the roles using
Auth._loadRoles
forrole:a
,role:c
will be queried for twice.This seems to be a change in ParseServer, as the role look up Parse.com is much faster when a large number of roles are used.
In my app with a user with 100 roles, ParseServer it will generate over 1000 database queries for
_Role
lookups for every request.The text was updated successfully, but these errors were encountered: