The problem is that you are not adding the views inside MastersControlPanel and there is no CommandItems for the command panel which is used as bread crumb datasource. To fix the issue you have to add a dummy "Accessed Denied" view inside CustomersView
. Generally, if the user can give permissions
he/she should be able to see the CustomersView
so you do not have to check whether there is AllowView
CustomersView : ViewModeControl<MastersControlPanel>
ModuleManager manager =
permissions = manager.GetPermissions(
"Displays all customers"
You can check for permissions inside MastersControlPanel
, but first
you need to check whether "AllowView
" is set for MastersPermissionsView
, then you will automatically load CustomersView
. if there is no access to MastersPermissionsView
check the permissions set for CustomersView
. If the access to both of them is denied you do not have to create a RadTab in the menu.
is bound inside Sitefinity/Admin.master. It datasource is created by using our permissions logic and you cannot hide the "Masters
" tab using your implementation. You have to check whether the RadTagStip
contains a tab "Masters
", then check the permissions for the current user and rebind
All the best,
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items