-
Notifications
You must be signed in to change notification settings - Fork 15
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
Compliance Auth Group Fixes and Changes #246
Merged
Merged
Conversation
This file contains 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
…d_group to be reviewed (currently disabled and/or tied to offence allocated_group) and some allocated_group assignment functions may need review in terms of which assignment types are handled by which user group
…mail sent to parent offence allocated_group (temporary, pending review)
…eview still needed) and get_members (for CMS group model) function bug fixed (and function applied in place of deprecated members attr)
…t, only wildlife licensing
…ides assign to me when user is already assigned, displays the currently displayed user, and updates on change (implemented for only inspection currently)
…ome supporting serializer adjustments)
…o objects (exception for open inspections, which inspection teams members can alter regardless)
…for other objects (WIP), added minimum auth to main views endpoints and internal auth check to create/delete weak link functions (anyone could do that until now)
…ed serializer issue
…ROUP_REGION_DISTRICT_LOCK_ENABLED - former allows non-region/district specific group member to access all contituent group members, latter allows all group members to access group members with the same name
…em being added to)
…er can be added/removed from any given inspection team
… if a server error occurs
… for region/district upon inspection creation (same as all other objects with officer groups)
…nd obstructing add related items for objects object (artifacts)
…s to include managers
…r workflow change until refreshed
…t on creation of offences, sanctions, and cases (while region lock if off)
xzzy
approved these changes
Mar 26, 2024
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.
Sensitivity Check Completed
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.
Number of fixes and adjustments to Compliance Management, mainly pertaining to allocated access groups.
Changes included*:
*Where referring to objects, referring to Inspections, Offences, Sanction Outcomes, and Legal Cases
The changes should allow for users to choose how group users are allowed to interact with objects with regards to their specified regions and districts. A number of issues that could lead to stale objects have also been fixed, as well as some minor security issues.
Note: regardless of auth options, officer and manager region and district groups must be specified to create and forward objects. For example, to create a legal case in the kimberley region, an officer kimberley region group must exist (it can be empty if region locks are disabled, however)