-
Notifications
You must be signed in to change notification settings - Fork 35
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
B-21533 HQ role with Safety Move privs #14454
base: main
Are you sure you want to change the base?
Conversation
|
Bundle StatsHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset
View detailed bundle breakdownAdded
Removed
Bigger No assets were bigger Smaller No assets were smaller Unchanged
|
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.
Test coverage on server failed.Last run: Fri 20 Dec 2024 09:01:51 PM UTC |
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.
Looks good.
Test coverage on client failed.Last run: Fri 27 Dec 2024 03:48:31 PM UTC |
B-21533
INT PR
Summary
Previously code was added to prevent HQ role from being able to have Safety Move privileges, but it was decided that HQ should now have access to see Safety Moves. This PR removes the checks preventing the HQ role from selecting the Safety Move priv in the admin console.
Verification Steps for the Author
These are to be checked by the author.
Verification Steps for Reviewers
These are to be checked by a reviewer.
Setup to Run the Code
How to test
To be able to select Safety Moves you need to first add the Super permissions for the admin account. This can be done by changing the flag in the DB for
super
to true in theadmin_users
table.Now you can either edit and existing Office User and give them Headquarters Role and Safety Move privileges or create a new Office User with the HQ role and Safety Move priv.
NOTE: If creating a new Office User you first must select the HQ role and save and then you can add the Safety Move privilege. This is because the checkbox for Safety Move is only currently available on the edit Office User page and not create page (known issue).
The Safety Moves privilege can only be selected for the following roles: Task Ordering Officer, Task Invoicing Officer, Services Counselor, Quality Assurance Evaluator, Customer Service Representative, and Headquarters
Task Ordering Officer
Task Invoicing Officer
Services Counselor
Quality Assurance Evaluator
Customer Service Representative
Headquarters
Customer
Contracting Officer
Prime Simulator
Government Surveillance Representative
SM
)Frontend
officeApp
class or custommin-width
styling is used to hide any states the would not be visible to the user.