You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolves: AlmaLinux/build-system#295
* Anyone can now create teams/products, fixed unexpected 404 error during creation
* Team router dependency switched from get_current_super_user to get_current_user
* can_perform checks added to endpoints, updated routers to pass user
Resolves: AlmaLinux/build-system#295
* Anyone can now create teams/products, fixed 404 error during creation
* Team router dependency switched from super user to get_current_user
* can_perform checks added to endpoints, updated routers to pass user
Steps to reproduce:
Expected behavior: The user is added to the team/product
Current behavior: Trying to add a new member results in an
404: Forbidden
errorUPDATE:
The problem is that only superusers are allowed to add/remove users, see https://github.com/AlmaLinux/albs-web-server/blob/master/alws/routers/teams.py#L21. For this reason, we should add RBAC to teams API.
AC:
The text was updated successfully, but these errors were encountered: