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

[Admin] Show voided entity types in Permissions screen #1160

Open
vinayvenu opened this issue Mar 8, 2024 · 0 comments
Open

[Admin] Show voided entity types in Permissions screen #1160

vinayvenu opened this issue Mar 8, 2024 · 0 comments

Comments

@vinayvenu
Copy link
Member

Motivation

External API has the ability to get all data using /api/subjects, /api/encounters etc. However, if we have data for an entity type that is voided, there is no way to assign the API user access to this endpoint, and it fails with a 403. The only way we can do this now is by adding privileges manually to the screen.

With this story, we fix it by showing voided entities in the system on the "Permissions" tab on "User Group" screen

Acceptance Criteria

  • There is a "Show Deleted" switch on the "Permissions" tab to show/hide deleted entity types. This is by default switched off
  • Do not add permissions by default for voided entity types. Add them if they are explicitly added on the screen
  • Add permissions when explicitly given from the UI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New Issues
Development

No branches or pull requests

1 participant