Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Disable Create PageType and Behaviour Tab for cerain security groups


Reply


3 Posts   965 Views

Avatar
misvid

Community Member, 1 Post

17 April 2009 at 3:50am

Hi All,

Is it possible to DISABLE the following functions for certain groups:

* Allow drag & drop reordering - I don't want editors to change the site structure
* Create Page - I don't want editors to change the site structure
* Behaviour tab - I don't want editors to change the PageType of a PageType :-)

I cannot find the options within the CMS interface. Hope someone can enlighten me!

Avatar
klikhier

Community Member, 150 Posts

20 June 2009 at 7:19am

Hello, I have the exact same question, but couldn't find anything on the forum. Is it possible to remove 'Create' 'Search' and 'Batch actions'? Help appreciated :)

Avatar
klikhier

Community Member, 150 Posts

20 June 2009 at 7:22am

By the way @misvid: behaviour tab can be removed easily:

public function getCMSFields() {
$fields = parent::getCMSFields();
$fields->removeByName("Behaviour");
return $fields;
}