(:if permit ...:) Stirling Westrup wrote: > I've just checked, and there is currently no (:if action:) test in the core to > see if one has permission to perform a given action. > > See a recent discussion here with PM about how (:if auth:) doesn't quite do > that, as it ignores the $HandleAuth array. > > It shouldn't be too hard to add such a test, but what should it be called? The > reason I ask is that I already have a custom (:if action:) test which instead > checks to see what the current value of $action is. > > They can't both have the same name, so what should I call them? I'm currently > thinking: > > (:if authact ...:) to see if an action is authorized > (:if action ...:) to see what the current action is. > > What do folks think? > > _______________________________________________ > pmwiki-users mailing list > pmwiki-users@pmichaud.com > http://www.pmichaud.com/mailman/listinfo/pmwiki-users >
_______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users