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

API to make a user an admin (and vice-versa) #1154

Closed
3 tasks done
snyaggarwal opened this issue Dec 13, 2021 · 1 comment
Closed
3 tasks done

API to make a user an admin (and vice-versa) #1154

snyaggarwal opened this issue Dec 13, 2021 · 1 comment
Assignees
Labels
api2 OCL API v2

Comments

@snyaggarwal
Copy link
Contributor

snyaggarwal commented Dec 13, 2021

  • An Admin user should be able to convert non admin user to admin (PUT /users/foobar/staff/ -- 204)
  • An Admin user should be able to convert another admin user to non admin (PUT /users/admin/staff/ -- 204)
  • A user should not able to toggle its state (PUT /users/requestUser/staff/ -- 400)
@snyaggarwal snyaggarwal added the api2 OCL API v2 label Dec 13, 2021
@snyaggarwal snyaggarwal self-assigned this Dec 13, 2021
snyaggarwal added a commit to OpenConceptLab/oclapi2 that referenced this issue Dec 13, 2021
snyaggarwal added a commit to OpenConceptLab/oclapi2 that referenced this issue Dec 13, 2021
@snyaggarwal
Copy link
Contributor Author

this is deployed everywhere. Closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api2 OCL API v2
Projects
None yet
Development

No branches or pull requests

1 participant