Base solution for your next web application
Open Closed

Static Roles Permissions #6639


User avatar
0
byeniceri created

Hi

I dont want to assign full permission to tenants. I created a static role which is named TenantAdmin. How can i assign permissions to this role? Should I override this method and where can i find GrantedPermissions list? There is similar questions but neither of them giving information about permission lists

    public StaticRoleDefinition(string roleName, MultiTenancySides side, bool grantAllPermissionsByDefault = false)
    {
        RoleName = roleName;
        Side = side;
        GrantAllPermissionsByDefault = grantAllPermissionsByDefault;
        GrantedPermissions = new List<string>();
    }
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

1 Answer(s)