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:
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.
This looks like a very handy extension, and has at least some of the exact functionality I’m looking for for a particular project. Would this extension allow me to set a user’s permissions to edit certain entries in one weblog but still be able to add new entries in a different weblog?
litzinger, you must have been reading my mind from a distance in the future or something. I think your extension gives the sort of granularity I can use to solve a lot of problems. I had posted a request for such in a new thread, but found your extension just today.
Gonna take it for a test drive and see how it goes. I have a lot of other extensions installed so I will let you know if it doesn’t work.
OK, I have a confirmed conflict with the Gypsy extension…after creating a field with the field type Member Group, then also designating that field a Gypsy field, the instant you try to put any value in there (ie, select someone to be able to edit that post in the Member Group field), I get the following:
MySQL ERROR:
Error Number: 1054
Description: Unknown column 'field_id_25_0' in 'field list'
Query: UPDATE `exp_weblog_data` SET `weblog_id` = '2', `field_id_13` = 'b4faec5b8962ba57c0a5fcd634cd60d7.gif\n\n\n\n\r', `field_id_14` = 'Yes', `field_ft_14` = 'none', `field_id_10` = '
Saving the same post with nothing checked off just saves as normal.
This isn’t much of a problem for me, I only need two Member Group fields, so I’ll just make two seperate ones.
Edit: oh, and I’m on ExpressionEngine 1.6.7 with the follow extensions installed:
jQuery for the Control Panel (v.1.1.1) LG Addon Updater (v.1.0.2) LG Live Look (v.1.0.3) Gypsy (v.1.0.6) LG TinyMCE (v.1.3.3) File, by Mark Huot (v.3.1.1) (my modified version with fixes for the resizing small images, GIF quality problems) Entry Permissions (v.0.2)
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.