[pmwiki-users] adding passwords to a page without breaking old ones

Sandy sandy at onebit.ca
Wed Feb 14 10:51:01 CST 2007


Patrick R. Michaud wrote:

PITS added.

> On Wed, Feb 14, 2007 at 11:01:02AM -0500, Sandy wrote:
>> If I remember correctly, if you add a password to a page, that new 
>> password over-rides the ones set by group and config.php. As in, only 
>> the new one will have access to the page.
>
> We already have a way to get access to the site-wide (config.php)
> passwords, by using the '@_site_*' groups.  Thus, to give access
> to Frank plus everyone who has sitewide edit permissions, one should
> be able to do
> 
>     id:Frank @_site_edit
> 
> We don't have an equivalent mechanism for getting access to group
> authorizations, but perhaps it wouldn't be too hard to add 
> something like "@_group_*" permissions to be able to grab things
> from a group.

So to give someone access I'd have to type:
id:Frank @_site_edit @_group_edit
That's assuming I haven't given anyone else permission as well.

> Before adding too many more specifiers onto the
> existing system, I'm hoping to come up with a cleaner overall
> design.  And being able to control permissions of all pages
> from a single location (e.g. config.php, Site.AuthUser, or a
> similar wiki page) is still on my roadmap.

Looking forward to it. It will be an interesting set of discussions. So 
many different real and theoretical uses.

Sandy




More information about the pmwiki-users mailing list