"Neovalis" <[EMAIL PROTECTED]> wrote:

> Is there any way to prevent users from deleting folders in "News & 
> Articles" while still allowing them to create and edit pages inside?  
> 
> My issue is that there is no way to "undelete" a folder or page with 
> the revision controls.  This is a potential disaster considering the 
> mentality of users providing content to my site.

Midgard itself has no such feature :(
But it may be easily done on application level.
The easiest way (IMO) is to create to groups:
- editors
- power editors

so , code should looks like:

<?php

if(mgd_is_member($power_editors, $user->id))
        {
        $object->delete();
        }

?>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to