Advanced Area/Block Permissions?
Permalink
Hey All,
So i've noticed things like this in the ccm.ui.js:
are these permission properties that we can set for users/groups? if so, where? I would like to be able to limit the amount of user control some users have on blocks and areas.
So i've noticed things like this in the ccm.ui.js:
if (obj.canDesign){ ... } if (obj.canLayout){ ... }
are these permission properties that we can set for users/groups? if so, where? I would like to be able to limit the amount of user control some users have on blocks and areas.
I've just commented these lines out to deal with this issue for now, but i would eventually like advanced users to be allowed to use the design functionality.
I suggest you make use of advanced permissions.
You can then classify your users into groups based on their skills/needs. Using advanced permissions allows you to grant and deny access on blocks instead of just on pages.
Just add this line to your site.php
You can then classify your users into groups based on their skills/needs. Using advanced permissions allows you to grant and deny access on blocks instead of just on pages.
Just add this line to your site.php
define('PERMISSIONS_MODEL', 'advanced');
I already have advanced permissions enabled, there are no "Layout" or "Design" tasks within the page, area, or block permission managers.
What I am attempting to do is allow users to write to an area but not have the ability to "Add Layout" or "Design" the blocks in the area so that they don't break the page style by frivolously adding padding, margin, columns, etc.
What I am attempting to do is allow users to write to an area but not have the ability to "Add Layout" or "Design" the blocks in the area so that they don't break the page style by frivolously adding padding, margin, columns, etc.
I know this is an old thread, but in case someone comes across it...
One option is to globally turn off the Layout and Design options, by putting these constants into /config/site.php:
As far as I know, granular permissions on layouts and design controls are not currently possible.
One option is to globally turn off the Layout and Design options, by putting these constants into /config/site.php:
As far as I know, granular permissions on layouts and design controls are not currently possible.