[dokuwiki] About $conf['disableaction']

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Dear all,

in regards with the proposed $conf['disableaction'] extension to
DokuWiki I'd like to suggest an alternative.

The rationale is that I'd like to enable/disable actions not globally
but rather on an ACL-relative scheme.

The idea is simple. Say you have a configuration like:

$conf['actionacl']['source'] = 1;
$conf['actionacl']['revisions'] = 4;
$conf['actionacl']['diff'] = 8;

That would mean: require at least 'read' rights (= 1) for enabling
'source', 'create' rights (= 4) for enabling 'revisions' and 'upload'
rights (= 8) for enabling 'diff'. The numbers correspond to the ACL
flags. Obviously, everything is enabled for the superuser. No
$conf['actionacl'] for an action means permit it.

In this way the admin can fine-tune the behavior according to the users
in a manner consistent with the ACL. You can  also have some actions
enabled only for specific namespaces.

What would you think of such an arrangement?

PS: this is my first post to the list and thus I had no previous thread
message to reply-to in order not to break the thread.


- --
Best regards,
Thanos Massias

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEu6u0Sy9m2i8jedwRAm6/AJ0es39d+f88b0NY3toD5ydNmkvYewCeLidX
BNKfsX2lidH+kHUrJNGIvec=
=/+6l
-----END PGP SIGNATURE-----
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: