Changes

Jump to navigation Jump to search
No change in size ,  14:46, 19 January 2018
Functions that are marked with {{Code|%perm:check}} are so-called ''Security Functions''. These functions will be invoked before the actually requested function will be evaluated. Two arguments can be specified with the annotation:
1#. A path can be specified as first argument:
* The security function will only be called if the path of the client request starts with the specified path.
* In contrast to RESTXQ, all subordinate paths will be accepted as well.
* If no path argument is specified, {{Code|/}} is assigned instead.
2#. A variable name can be defined as second argument. A map with the following keys will be bound to that variable:
* {{Code|allow}}: Permission strings attached to the requested function.
* {{Code|path}}: Original path of the client request.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu