Open JonasStjerne opened 1 year ago
There should be a super user type. There should be an auth guard to check for this user type and it should be applied to create and delete for hubs.
Use enum for role type with numbers and edit the normal auth to check if auth level is equal to or higher than the normal user type
There should be a super user type. There should be an auth guard to check for this user type and it should be applied to create and delete for hubs.
Use enum for role type with numbers and edit the normal auth to check if auth level is equal to or higher than the normal user type