Replies: 1 comment
-
No it needs to be a constant in order to be usable from static contexts like in attributes. You can give another role close to Admin's super user access by overriding the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Updated from 5.11 to 6.10 and this broke my admin role name assignment. Is there a new way to do this?
RoleNames.Admin = SecurityRoles.AdminRole; //change default admin role to match my role name "administrator"
ServiceStack/ServiceStack@298b3b1
Beta Was this translation helpful? Give feedback.
All reactions