Changes

Jump to navigation Jump to search
12 bytes removed ,  14:46, 19 January 2018
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. * {{Code|method}}: Method of the client request ({{Code|GET}}, {{Code|POST}}, …).
An example:
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu