Skip to content
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

10416 bug - cold case report permissions for general user #5173

Merged
merged 3 commits into from
Jul 23, 2024

Conversation

akuny
Copy link
Contributor

@akuny akuny commented Jul 22, 2024

The root cause of this bug was that the ROLE_PERMISSIONS.COLD_CASE_REPORT permission was added to the allInternalUserPermissions array in authorizationClientService.ts, but was not added to the generalUserPermissions array.

After making this change, I observed that the only permission in allInternalUserPermissions that the generalUserPermissions array did not include was ROLE_PERMISSIONS.SEND_RECEIVE_MESSAGES. Since the general user is an internal court role, I:

  1. extracted ROLE_PERMISSIONS.SEND_RECEIVE_MESSAGES from allInternalUserPermissions
  2. added ROLE_PERMISSIONS.SEND_RECEIVE_MESSAGES to the permissions arrays that derive their base permissions from allInternalUserPermissions.

There is no longer any redundancy in the definition of the general court user's permissions.

@akuny akuny added the to test label Jul 22, 2024
@akuny akuny marked this pull request as ready for review July 22, 2024 17:44
@akuny akuny changed the title 10416 bug 10416 bug - cold case report permissions for general user Jul 22, 2024
@akuny akuny merged commit 2e925b7 into ustaxcourt:test Jul 23, 2024
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants