Permissions Request
Permalink 1 user found helpful
I request for there to be a advanced permissions option "add to area" and "design/layout" like there is for "admin", "approve", "write" and "delete" . There are a lot of times where we don't want our clients to add blocks to certain areas or even to the whole website and we don't want them to mess with the design of the site like font's and colors.
As a design shop this is becoming more and more of a big deal. I know there is a way to go through each section and make it so they can't add blocks but when we don't want them to add blocks to a whole website at all it gets a bit tedious. A fix to this would help out quite a bit. Any thoughts or Ideas?
As a design shop this is becoming more and more of a big deal. I know there is a way to go through each section and make it so they can't add blocks but when we don't want them to add blocks to a whole website at all it gets a bit tedious. A fix to this would help out quite a bit. Any thoughts or Ideas?
i like that idea :)
:) Glad I'm not the only one.
yes, we want to change advanced permissions to be entirely role based instead of abstract stuff like "approve" or "admin"
its already on our list. ;)
its already on our list. ;)
That's great news. Thanks for the reply Frz.
How about some page owner permissions, just like there is for guest,registered, and administrators.
Hi frz,
I am using advanced permissions. I need to know how to SET the permissions of an AREA while making a new page like this:
How would I change the area's permissions?
I would also like to change the types of blocks the owner can add.
Can I add area permissions in the $pxml? If so how???
I am using advanced permissions. I need to know how to SET the permissions of an AREA while making a new page like this:
$data = array('uID' => $u->uID,'name' => $u->uName,'cHandle' => $u->uID,'cDescription' => $u->uName); $pt = CollectionType::getByHandle("page_member_profile"); $newPage = $parentPage->add($pt,$data);
//Page Permissions $pxml = new stdClass; $pxml->user[0]['uID'] = $u->getUserID(); $pxml->user[0]['canRead'] = 1; $pxml->user[0]['canWrite'] = 1; $pxml->user[0]['canApproveVersions'] = true; $pxml->user[0]['canDelete'] = true; $pxml->user[0]['canAdmin'] = false; $newPage->assignPermissionSet($pxml); [code] //Area Permissions $aa = Area::get($newPage, 'Main'); $ap = new Permissions($aa); // … uh, what do I do now??
How would I change the area's permissions?
I would also like to change the types of blocks the owner can add.
Can I add area permissions in the $pxml? If so how???
We discussed this briefly in the IRC:
There is a way through page::updateGroups, but there is no good way at the moment. The new advanced permissions are going to be released in the next version of concrete5.
Best Wishes,
Korvin
There is a way through page::updateGroups, but there is no good way at the moment. The new advanced permissions are going to be released in the next version of concrete5.
Best Wishes,
Korvin