Thanks Marcus, as always you have something usefull to contribute

Nothing wrong with this part though, looks clean enough IMO.

PHP Code:
...
$authoriser = &new Authoriser(); 
        
$authoriser->addUsage('fred'); 
        
$authoriser->addRole('pleb'); 
        
$authoriser->addOperation('do_stuff'); 
        
$authoriser->attachRole('fred''pleb'); 
        
$authoriser->permit('pleb''do_stuff'); 
... 
Makes sense really

If I can help, I would like too.
The more, the merrier