-
-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
63044f7
to
0fee674
Compare
Congratulations 🎉. DeepCode analyzed your code in 3.778 seconds and we found no issues. Enjoy a moment of no bugs ☀️. 👉 View analysis in DeepCode’s Dashboard | Configure the bot👉 The DeepCode service and API will be deprecated in August, 2021. Here is the information how to migrate. Thank you for using DeepCode 🙏 ❤️ !If you are using our plugins, you might be interested in their successors: Snyk's JetBrains plugin and Snyk's VS Code plugin. |
858e5c2
to
fa3dbd2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 'Scene' admin page selector in the sidebar needs to be not rendered if the user doesn't have the 'scene:read' scope. The top-level 'Scene' accordion should not be rendered if none of its sub-selectors are selectable.
The top-level 'Location' accordion selector also needs to be turned off if none of its child selectors are rendered.
The various admin pages need to not be hittable without the corresponding read scope. Right now I can go to /admin/groups and see groups even without 'group:read'; not having it be selectable from the sidebar is not enough.
All /editor pages need to not be hittable if the user doesn't have 'editor:write' scope.
contentPacks, group, instance, invite, and party need write scopes as well as read scopes, and those write scopes need to be protecting the create/update/patch/remove functions on their respective services
fa3dbd2
to
bbd0cee
Compare
We want to have default scopes that are granted to users based on their userRole. This will require some minor changes to user creation/patching. There will be a couple of new environment variables in .env.local.default, appconfig.ts will have a new sub-field on its export,
When a new user is created in identity-provider.class.ts:create(), a new scope for all of the scopes in config.scopes.guest should be made for that user. user.class.ts:patch needs to be added and, if their userRole is being patched to DEFAULT_GUEST_SCOPES in .env.local.default should be |
ad77e76
to
8763a77
Compare
I can't see or select the location list from /editor/projects. Need to add scopes |
8763a77
to
1018b07
Compare
1018b07
to
eb8c35b
Compare
eb8c35b
to
32d60fe
Compare
32d60fe
to
9a22759
Compare
No description provided.