Temporary constraints class to implement some legacy constraints, useful during porting of the authentication library. More...
Public Member Functions | |
run ($action, $env, &$messages, &$perfdata) | |
Determine if the action is allowed, if the namespace is ninja.legacy. |
Temporary constraints class to implement some legacy constraints, useful during porting of the authentication library.
mayi_ninja_legacy_constraints::run | ( | $ | action, | |
$ | env, | |||
&$ | messages, | |||
&$ | perfdata | |||
) |
Determine if the action is allowed, if the namespace is ninja.legacy.
Otherwise allow everything, so we don't interfere with anything else. We're allowed access to ninja.legacy if we're logged in.