Daniel Sheppard wrote:
Restrict the pages tab to users with the dev role:
admin.tabs['Pages'].visibility = [:dev]
Well, not quite. That only hides the tab from the user's view. To be
secure you will need to use the only_allow_access_to class method inside
the body of the controller
Hi all,
Just a quickie, is there a way (through the users/roles?) to hide the
page, snippets, and layouts admin tabs? i.e. with the aim of having a
user who, once logged in, can only see/use the tabs created through
my extensions.
Kind regards,
-Karl
] Hide pages/snippets/layouts admin tabs?
Hi all,
Just a quickie, is there a way (through the users/roles?) to
hide the
page, snippets, and layouts admin tabs? i.e. with the aim of
having a
user who, once logged in, can only see/use the tabs created through
my extensions.
Kind