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
Is your feature request related to a problem? Please describe.
Tag-based roles allow you to restrict permissions to certain tagged features, however, the frontend doesn't currently receive any information about what tags the user has permissions for in the my-permissions endpoint - this means the frontend isn't disabling / hiding any access where appropriate tags aren't added.
Describe the solution you'd like.
In order for the frontend to start restricting tag based roles, the my-permissions endpoint needs to return the tags the permission has access to, if none are returned the frontend should assume they have access to permissions regardless of the tagged feature.
Describe alternatives you've considered
Let the api 403 when attempting actions, however this would add many new scenarios to test where the frontend was originally hiding / disabling ui
Additional context
No response
The text was updated successfully, but these errors were encountered:
@kyle-ssg, I’ve implemented it here with a slight variation. Instead of using 'keys,' I've used 'permissions' (a list) since it can contain more than one permission.
Is your feature request related to a problem? Please describe.
Tag-based roles allow you to restrict permissions to certain tagged features, however, the frontend doesn't currently receive any information about what tags the user has permissions for in the my-permissions endpoint - this means the frontend isn't disabling / hiding any access where appropriate tags aren't added.
Describe the solution you'd like.
In order for the frontend to start restricting tag based roles, the my-permissions endpoint needs to return the tags the permission has access to, if none are returned the frontend should assume they have access to permissions regardless of the tagged feature.
Describe alternatives you've considered
Let the api 403 when attempting actions, however this would add many new scenarios to test where the frontend was originally hiding / disabling ui
Additional context
No response
The text was updated successfully, but these errors were encountered: