Closed rhythnic closed 4 years ago
Create a group of static permissions. Choose which should be assigned to the ADMIN and USER roles. Add support in User model for permissions checking and listing. Write Express middleware to call the User model to check for permission.
Create a group of static permissions. Choose which should be assigned to the ADMIN and USER roles. Add support in User model for permissions checking and listing. Write Express middleware to call the User model to check for permission.