SwissDataScienceCenter / renku-ui

The web frontend of the Renku platform
https://renkulab.io
Apache License 2.0
13 stars 6 forks source link

Update AccessGuard and MembershipGuard to use permissions from the backend #3350

Closed leafty closed 1 month ago

leafty commented 1 month ago

Currently, permissions are computed on the UI for buttons such as "settings" for projects or groups. This is the wrong approach because it duplicates authorization rules in the UI and will fail to be correct when these rules are changed in the backend. Instead, rely on information from the backend.

See: https://github.com/SwissDataScienceCenter/renku-data-services/issues/453.