[dokuwiki] Re: question on meta data and feature request for enabling disabled functionality for admins

Jason Keltz wrote:
>
> I think the addition of the "group" option would make the plugin
> useful for my particular circumstances.  I'm not sure what you mean
> about it not disabling the action "completely" though.  Could you
> clarify? I guess my template which is looking for actionOK would still
> end up printing the button, but your plugin would intercept the call
> to the function, and disable the action with some kind of "permission
> denied" type message.
>
> Jason.
>
Jason,

Use the ifauth plugin. In your header page, you type something like:

<ifauth @groupWhoIsAllowedTheAction > button markup </ifauth>

And it will only appear for said group.

Luke
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: