[dokuwiki] Re: Restricting actions (was Re: view page source button)

  • From: Guy Brand <gb@xxxxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sat, 1 Jul 2006 15:20:21 +0200

On 01 July at 14:47, Andreas Gohr wrote:

> So should this just make sure the actions can't be called or should
> it also disable the apropriate buttons?

  Template code could ensure that an action corresponding to a button
  is not disabled in the configuration before displaying it. Some
  templates already display only a subset of the buttons if the user
  is logged in or not, or if the user is admin or not. I suggest not
  to act on buttons.

-- 
  bug

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

Other related posts: