semaphore
semaphore copied to clipboard
API: access tokens require admin permission for post/delete
semaphore version 2.8.92
This is not a bug report but more a feature request.
Reproduce steps:
- Add a local user account and link it to a project.
- Grant this user the owner role
- Create an api token as described in the docs
- 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 is it actual?