-
Notifications
You must be signed in to change notification settings - Fork 27
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
Backend/309/final #121
Backend/309/final #121
Conversation
…b.com/raft-tech/TANF-app into backend/309/dynamic-roles-permissions
…dynamic-roles-permissions
…gement document session management strategy
Quick note on the size of this PR, as our current strategy is to aim for much slimmer PRs: The AC of 309 was to simply demonstrate that the roles are in the system, however, to include roles in the system, the architecture to support roles and permissions needs to be included. Then, the determination was made that we don't want to use the CLI to update users because there is no audit trail, and it was decided that that needed to be part of this PR because it would also satisfy the requirement of demonstrating what roles are in the system. |
QASP reviewThis review covers all deliverables except Deliverable 1 (Accepted Features), which we will review in a separate meeting, and Deliverable 4 (Accessible), which will likely require accessibility testing by @iamjolly and @ttran-hub next week. Deliverable 1: Accepted Features
As Product Owner, @lfrohlich will decide if ACs are met. Deliverable 2: Tested Code
Deliverable 3: Properly Styled Code
Deliverable 4: Accessible
Deliverable 5: Deployed
Deliverable 6: Documented
Yes, see:
Deliverable 7: Secure
Manual code review detected three areas for security improvement, which have been documented and will be prioritized to follow this PR:
|
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.
@carltonsmith demoed the functionality on 1/11/21 and it does what it says it does. looks good!
Given the backend nature and limited users who will the django admin console, we plan to defer the accessibility review for a later sprint. Is that ok with you, @iamjolly and @ttran-hub ? I created a follow up issue here: https://app.zenhub.com/workspaces/tdrs-sprint-board-5f18ab06dfd91c000f7e682e/issues/raft-tech/tanf-app/528 |
@lfrohlich - That sounds fine to me. |
This pull request changes...
Adds functionality for supporting roles and permissions, as well as Django Admin abilities to manage users, groups and permissions. The user
auth_check
now returns the user's roles and associated permissions.TO TEST
Our recommendation is for the Raft tech lead @carltonsmith to demonstrate the capabilities as this backend centered pull request can be rather technical to test. Here are the changes that can be demonstrated as a result of this pull request.
auth_check
endpoint now returns the logged in user's assigned roles and permissions./v1/roles/
(This satisfies the AC "Preliminary (MVP) roles are populated in the database")Security Control Requirement Changes
These changes were made to address security control requirements
Staff
andSuperUser
is able to log in to the Django Admin consoleThis pull request is ready to merge when...