Earn $20 - Just Help Me, Block Permissions
PermalinkI'll paypal $20 to the first person that can help me with my request.
I want the permissions setup so that a certain user can only edit the current blocks. I do not want them to have the ability to add new blocks and/or remove any current ones. I have the user and advanced permissions already setup. I just need the PHP code for my template.
Here is the page's permissions:
Read Versions Write Approve Delete Admin
Guest [X] [ ] [ ] [ ] [ ] [ ]
Admins [X] [X] [X] [X] [X] [X]
User [X] [X] [X] [X] [X] [X]
Side note: I already have figured it out how to do it manually, but I have over 50 editable blocks on about 100+ pages, so to do this by hand would consume way too much time.
Here is an example of one of the editable blocks.
<?php $a = new Area('block01'); $a->display($c); ?>
The block above needs to have these permissions set at the PHP level:
Read Write Delete
Guest [X] [ ] [ ]
Add (all items UNchecked)
Admins [X] [X] [X]
Add (all items checked)
User [X] [X] [ ]
Add (all items UNchecked)