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: access tokens require admin permission for post/delete #1391

Open
steadfasterX opened this issue Aug 4, 2023 · 0 comments
Open

API: access tokens require admin permission for post/delete #1391

steadfasterX opened this issue Aug 4, 2023 · 0 comments

Comments

@steadfasterX
Copy link
Contributor

steadfasterX commented Aug 4, 2023

semaphore version 2.8.92

This is not a bug report but more a feature request.

Reproduce steps:

  1. Add a local user account and link it to a project.
  2. Grant this user the owner role
  3. Create an api token as described in the docs
  4. Try to create a template

Result: 403 not authorized

I have tested only template creation as of now but i assume this is for any api post / delete call.

Workaround: make this account an admin account

I guess this is expexted atm bc RBAC is not fully implemented yet but a hint in the docs would be fine and I want to ensure to keep track of tokens in rbac :)

@steadfasterX steadfasterX changed the title API: not able to create templates with an access token API: access tokens require admin permission for post/delete Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant