UoaWDCC / aeyb-monitor

7 stars 0 forks source link

If the user cannot do something don’t show the button #129

Closed jacobatan closed 1 year ago

jacobatan commented 1 year ago

For our permissions, MANAGE_MEETINGS, and MANAGE_ROLES, we want to hide the create role and create meeting button if the user doesn't have these permissions

TylerDonghwi commented 1 year ago

I think if the user doesn't have the permission to view_roles, you should hide the roles page completely.

Image