From: "Michael C. Harris" <michael.twof...@gmail.com>
Date: Mon, 28 Jan 2008 13:17:55 +1100
Local: Sun, Jan 27 2008 9:17 pm
Subject: Re: [habari-dev] Re: UserGroup
On Sun, Jan 27, 2008 at 12:02:17PM -0500, Scott Merrill wrote: #1 seems reasonable to me. I would expect ACL::create_permissions() to > > there is no current way to create or destory permissions. > Do folks have any opinion on how to tackle this? I can see several options: > 1) The ACL class has static methods to create and destroy permissions: > 2) Permissions are created on the fly, as needed. > 3) A new permissions class is created. This seems a little overkill. > I _think_ option #1 is the best way forward, but it seems a little return true if the permission exists after the call, regardless of whether it was created by the call or existed previously. Same for ACL::delete_permissions, but reverse. Related musing (that might actually be in favour of #3); do we want to cheers, Michael -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||