Move permissions app under backend/permissions/#6618
Merged
Conversation
CarolineDenis
approved these changes
Jun 11, 2025
20 tasks
bhumikaguptaa
approved these changes
Jun 30, 2025
bhumikaguptaa
left a comment
Collaborator
There was a problem hiding this comment.
- General Permissions testing
Verify that you can:- Create new Role from Library
- Create new Role from existing Role
- Create completely new Role
- Import Roles
- Export Roles
- Edit Name/Description fields on User Roles
- Delete a Role
- Create a role that grants edit access and assign it to a user
- Apply custom collection-level policies to a user
- Test the policies and roles you apply to a user
- Verify permissions are still enforced correctly in Workbench
- Validate & Upload a valid dataset
- Verify permissions are still enforced correctly in Queries
Works as expected!
Triggered by 3398d54 on branch refs/heads/issue-6615
emenslin
approved these changes
Jul 2, 2025
emenslin
left a comment
Collaborator
There was a problem hiding this comment.
Testing instructions
- General Permissions testing
- Create new Role from Library
- Create new Role from existing Role
- Create completely new Role
- Import Roles
- Export Roles
- Edit Name/Description fields on User Roles
- Delete a Role
- Create a role that grants edit access and assign it to a user
- Apply custom collection-level policies to a user
- Test the policies and roles you apply to a user
- Verify permissions are still enforced correctly in Workbench
- Validate & Upload a valid dataset
- Verify permissions are still enforced correctly in Queries
Looks good!
Triggered by a8236f4 on branch refs/heads/issue-6615
21 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #6615
This PR reorganizes the project structure by moving the
permissionsapp into a newbackend/permissions/directory underspecifyweb/.Summary of Changes:
permissionstospecifyweb/backend/permissions/SPECIFY_APPSinsettings.pyto includespecifyweb.backend.permissionsThis is the 2nd PR in a broader backend reorganization. No frontend behavior or functionality was changed.
Notes:
accountsapp underbackend/accounts/#6577.Checklist
self-explanatory (or properly documented)
Testing instructions
See more info on Permissions
Please cross check the following functionalities with
main.Verify that you can: