23355 Posts in 17838 Topics by 2862 members
|Go to End|
18 November 2010 at 6:50pm
I am trying to find the best way to apply security access levels to the SiteConfig.
I have a SiteConfig which extends the DataObjectDecorator. In the CMS on the "Home" screen there are two additional tabs with customized Site Config details. I only want admins and and a group called Content Authors to be able to edit the data in these tabs. I don't see a way to do this via the CMS interface and didn't see any reference to security access restrictions.
18 November 2010 at 7:44pm
You can check if the user's in a given group, then call $fields->makeFieldReadonly(fieldName); for each field if they're not.
|Go to Top|