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 this a feature for the SudoSOS point of sale or for the SudoSOS dashboard?
Dashboard
What would you like?
We can use the new backend endpoint to render components based on permissions instead of based on roles.
Why is this needed?
Right now we do it per page, but one some pages people can see or do slightly more than other people. Furthermore, the roles we use right now are not fixed and might change, or dissappear. So we should do rendering based on the actual permissions that we know a user has, and that we can receive from the backend.
Is this a feature for the SudoSOS point of sale or for the SudoSOS dashboard?
Dashboard
What would you like?
We can use the new backend endpoint to render components based on permissions instead of based on roles.
Why is this needed?
Right now we do it per page, but one some pages people can see or do slightly more than other people. Furthermore, the roles we use right now are not fixed and might change, or dissappear. So we should do rendering based on the actual permissions that we know a user has, and that we can receive from the backend.
Other information
We could do it similiar to: https://github.com/GEWIS/parelpracht-client/blob/master/src/components/AuthorizationComponent.tsx and use a rolemanager similiar to the backend to determine what they can do.
The text was updated successfully, but these errors were encountered: