Advanced permissions

Permalink
Is there any way to turn off the "move" in advanced permissions also is there any way to turn off "add to (block)" in advance permissions? I just want the client to edit the content. I do not want them moving the content or adding new blocks.

bryanlewis
 
frz replied on at Permalink Reply
frz
you can limit the types of block someone can add to an area through permissions.

you can limit the number of blocks you display in view mode with a line or two of code in the template. this effectively limits your site owner to one block per area..

you can't turn off move - but you can control which groups/users can access which block areas. you might make a navigation in a area that only admin can edit in page defaults - and your site owner couldn't accidentally dump the header image there in move mode.
bryanlewis replied on at Permalink Reply
bryanlewis
frz,

how do i you limit the types of block someone can add to an area through permissions. I have advanced permissions on and i have it so that the user can read and write only but it always says they can add more blocks.
frz replied on at Permalink Reply
frz
you should be able to lock down add by changing the permissions on the area, not the block instance itself.

only way to deal with move today is to not give them access to block areas you don't want it moved too. its not a separate permission today (tho it prolly should be)

So think like this, everything has it's own permission set:
Page
Block Area
Block Instance.
bryanlewis replied on at Permalink Reply
bryanlewis
The only categories that I have with setting permissions on a block area are "read, write, delete" am I being a ditz again and missing something?
katz515 replied on at Permalink Reply
katz515
Look here
http://www.concrete5.org/help/building_with_concrete5/installation/...

You need to add
<?php define('PERMISSIONS_MODEL', 'advanced'); ?>

to at the very last line of your /config/site.php

For exmample, at the end of your "site.php" should look like this
define('DIR_REL', '/xxxxx');
define('PASSWORD_SALT', 'xxxxxxxxxxxxxxx');
define('PERMISSIONS_MODEL', 'advanced');
?>
bryanlewis replied on at Permalink Reply
bryanlewis
I've already done that... i'm just asking for assistance to make it so that a user can't add a block... just edit one
katz515 replied on at Permalink Reply 2 Attachments
katz515
Yes.

I got confused at first.

I assume you want to change the permission of the entire area.

-----

Instead of clicking the block itself, you need to click "Add to ----" link (SEE my 1st attached image))

And you will see "Permissions" tab (SEE my 2nd attached image).

That's where you set the permission of area.

That's where you change the permission of entire area.
katz515 replied on at Permalink Reply 1 Attachment
katz515
OK. So check out my attached image.

I set up for the user "test". And logged-in as admin, and click "Add to Sidebar (for example)"

And follow the setting of my attached image.

This way "test" user

1. can only edit the existing block
2. cannot move the block
3. cannot add the block

in the particular area...

Try it.
bryanlewis replied on at Permalink Reply
bryanlewis
I don't have that many options with my advance permissions?!? What did I do wrong?
katz515 replied on at Permalink Reply
katz515
I messed up the tree structure to answer your question... sorry... my answer is somewhere above

Or click this link
http://www.concrete5.org/community/forums/customizing_c5/advanced_p...
bryanlewis replied on at Permalink Reply
bryanlewis
I found it all and logged in as the user that i restricted and i could still add blocks! did i miss a step?
bryanlewis replied on at Permalink Reply
bryanlewis
You have to log out then log back in for it to work...