ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Prevent user from deleting entries in specific channel?

September 08, 2011 6:30pm

Subscribe [2]
  • #1 / Sep 08, 2011 6:30pm

    rmedek

    131 posts

    Title says it all, I guess…is there a method to prevent a user from deleting an entry in a specific channel?

    E.g., a member is granted admin rights, has permission to delete any entries on the site except for those posted in the “Contact” channel.

    Thanks for any help…

  • #2 / Sep 08, 2011 9:02pm

    John St-Amand

    865 posts

    Such rights are assigned, natively at least, at the member group level.  So yes, it can be done, but you’d have to do it with a group rather than a specific member (which depending on what you’re trying to do could be a bit inefficient if you wind up having to create a member group per member for whom you want to administer such privileges).

  • #3 / Sep 08, 2011 9:07pm

    rmedek

    131 posts

    Thanks for the response. A member group is fine (preferred), but I don’t see where this is assigned natively. AFAIK, a member can be given post and edit rights for a specific channel, but I don’t see where a member can edit but not delete.

  • #4 / Sep 08, 2011 9:32pm

    John St-Amand

    865 posts

    Ah, I think I read your post a little too quickly.  You’re looking for a specific channel out of many to have such a limitation.  That’s where EE’s member module doesn’t quite reach far enough, from what I can tell. Under “Channel Posting Privileges” there is an option for “Can delete their own channel entries” and another for “Can delete channel entries authored by others” that would determine delete privileges for the member group - but it’s not channel specific.  I don’t believe natively there is any way to have a user’s editing and deleting privileges set on a channel by channel basis.  I’m not aware of an add-on that would extend this functionality either.  As close as you’d get would be to simply not assign them rights to the “contact” channel at all - which likely isn’t the right answer since i suspect you’d at least want them to have the ability to edit.  Sorry I can’t be more help.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases