I have a project that needs really fine control over editing permissions. While EE’s group permissions are awesome, I wanted to take it a step further. I also want to use the new Structure extension, but it has a serious limitation when all ‘static’ pages are added to a single weblog. When you do that, you essentially lose all EE’s group permissions because it’s all or nothing permissions on the ‘static’ weblog.
What this extension does is piggy back off EE’s group permissions. If a particular group will be allowed any adding or editing privelages to a weblog, you’ll need to:
- assign the group access to the Publish and Edit pages
- assign the group the ability to edit entries by other authors
- assign any weblog to the user might have to post or edit entries in
What Entry Permissions lets you do is:
If the member group ‘editor’ has been assigned post and edit privileges to the ‘news’ and ‘events’ weblog, you can use Entry Permissions to restrict which entries they’re allowed to edit (entries must first be created by another admin user). So they can add ‘news’ entries, but can’t add a new ‘events’ entry, but is allowed to edit existing entries, and you can pick and choose which entries they can edit. It’s not an all or nothing setting.
This is my first extension! And it hasn’t been tested a lot, but it seems to be working so far, and it’ll be getting a lot of testing in the next couple weeks as I use it on a project. I wanted to post it here and get some feedback if possible.
One issue I’m having, is after saving the extension settings, I get a white page in the CP. It renders the CP header, and the breadcrumbs “CP Home › Admin” but then everything below that is white until it renders the footer… I’m not sure why it’s doing this.
Major thanks to Mark Huot, and Leevi Graham. I was referencing and borrowing code from a couple of their extensions so I knew how things were done.
