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

(SP: ) Add Role-Based Access Validation to the PATCH /subjects #1083

Open
PavloButynets opened this issue Dec 22, 2024 · 0 comments · May be fixed by #1106
Open

(SP: ) Add Role-Based Access Validation to the PATCH /subjects #1083

PavloButynets opened this issue Dec 22, 2024 · 0 comments · May be fixed by #1106
Assignees

Comments

@PavloButynets
Copy link
Contributor

PavloButynets commented Dec 22, 2024

Each logged in user can create a new subject
image

Tasks

  • Investigate all places where the subject is created
    • if the creation is performed only by the admin, then use the existing validation to check the admin
    • If new roles can create subjects, implement new functionality for validation

Testing

  • Write tests that check the correctness of validation when requesting this endpoint
@github-project-automation github-project-automation bot moved this to Project Backlog in SpaceToStudy Dec 22, 2024
@PavloButynets PavloButynets changed the title (SP: ) Add POST request validation to the endpoint /subjects (SP: ) Add POST request validation to the endpoint /subjects Dec 22, 2024
@Renatavl Renatavl self-assigned this Dec 27, 2024
@Renatavl Renatavl linked a pull request Dec 30, 2024 that will close this issue
@PavloButynets PavloButynets changed the title (SP: ) Add POST request validation to the endpoint /subjects (SP: ) Add Role-Based Access Validation to the PATCH /subjects Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Project Backlog
Development

Successfully merging a pull request may close this issue.

2 participants