79338618

Date: 2025-01-08 09:51:35
Score: 2
Natty:
Report link

Your role based approach would be the more general solution.

What's wrong here is that you forgot to add the created RolePermissionTypes to the RolePermissionTypeCollection in the addPredefinedRolePermissions method.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jochen