[dev] wicked permissions

Ben Chavet ben at chavet.net
Mon Nov 22 06:38:35 PST 2004


I was afraid that this was too easy ;)

I'll see what I can come up with.  It might be next week before I have time,
though.

--Ben

Quoting "Jason M. Felice" <jfelice at cronosys.com>:

> On Sun, Nov 21, 2004 at 02:27:37PM -0600, Ben Chavet wrote:
>> attached patch moves default wicked page permissions to wicked:pages 
>> instead of
>> just wicked.  This allows you to set "users cannot see any pages, except the
>> ones specified".  It also allows "users can see all pages, except the ones
>> specified".
>>
>> --Ben
>
> Unfortunately, there's more to it than this... if the user has a default
> install with no permissions and then sets the permissions on any one
> page, 'wicked:pages' will be automatically created with no permissions
> set.
>
> You'll have to make sure 'wicked:pages' exists or create it with
> rational permissions before letting the user set the permissions on a
> page as well.
>
> --
>  Jason M. Felice
>  Cronosys, LLC <http://www.cronosys.com/>
>  216.221.4600 x302
>
> --
> Horde developers mailing list - Join the hunt: http://horde.org/bounties/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>




More information about the dev mailing list