[pmwiki-users] Hierarchical permissions

Kathryn Andersen kat_lists at katspace.homelinux.org
Wed Jan 31 14:17:08 CST 2007


On Wed, Jan 31, 2007 at 07:05:08AM -0500, The Editor wrote:
> On 1/30/07, The Editor <editor at fast.st> wrote:
> 2). In the process, the thought crossed my mind we do have two options
> for dealing with hierarchical config files.  Currently, if you are at
> Kingdom-Animal-Canine, it looks for Kingdom-Animal-Canine.php first,
> then Kingdom-Animal.php, and then Kingdom.php (and then default.php).
> As soon as it finds one, it uses it and stops its search.  So only one
> file is ever used (much like the group attributes pages).
> 
> It could be rewritten however (a bit of a pain) to include if it
> exists Kingdom.php first, then include Kingdom-Animal.php and then
> Kingdom-Animal-Canine.php third, each one overwriting any settings in
> earlier ones.  This might be more what people expect, and makes some
> things easier.  That is, with the current system you have to repeat
> config settings in child config files.  I hesitate to do this however,
> as I can it making debugging problems far more complex.  And at least
> for starters, we should perhaps keep it simple...

Yes. the latter is what I would have expected/hoped for with
hierarchical groups, otherwise there doesn't seem much point, since you
don't gain from higher-up settings if you have to repeat them for every
lower-down config file.

Kathryn Andersen
-- 
 _--_|\     | Kathryn Andersen	<http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe



More information about the pmwiki-users mailing list