Re: [Radiant] Hide pages/snippets/layouts admin tabs?

2007-03-19 Thread John W. Long
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

[Radiant] Hide pages/snippets/layouts admin tabs?

2007-03-18 Thread Karl Doody
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

Re: [Radiant] Hide pages/snippets/layouts admin tabs?

2007-03-18 Thread Daniel Sheppard
] 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