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

Create Admin CRUD Endpoints for Visa - Permission Mapping #680

Open
Buwujiu opened this issue Mar 27, 2023 · 0 comments · Fixed by #690
Open

Create Admin CRUD Endpoints for Visa - Permission Mapping #680

Buwujiu opened this issue Mar 27, 2023 · 0 comments · Fixed by #690
Assignees

Comments

@Buwujiu
Copy link
Contributor

Buwujiu commented Mar 27, 2023

Detailed Description

Implement endpoints:

  1. Get mappings by visa Id
  2. Get mappings by policy Id, just the policy, not the mask
  3. 1 endpoint to update or create visa permissions, 1 visa - many permissions.
  • each visa should only have 1 entry per policy, example: SONG. READ, if the request is to update to SONG.WRITE, then update it to be SONG.WRITE, do not keep both.
  1. 1 endpoint to remove mappings by VISA id AND policy name(or ID? as long as it's consistent with the rest of the API). 1 visa - many policies.

All endpoints:

  • Only accessible to admins.
  • should have pagination
  • should have basic error handling
@Buwujiu Buwujiu added the new-feature Request is a new feature label Mar 27, 2023
@Buwujiu Buwujiu added ITCR-Passport and removed new-feature Request is a new feature labels Mar 27, 2023
@Azher2Ali Azher2Ali linked a pull request Apr 26, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants