User NoAuth model. More...
Public Member Functions | |
__construct () | |
Constructs a new NoAuth user. | |
authorized_for ($auth_point) | |
Returns if a user is authorized for a certain authorization point. | |
authorized_for_object ($object_type, $object_definition, $case_sensitivity=true) | |
Test if user is authorized for viewing a certain object. | |
logged_in () | |
Returns true if logged in. | |
get_contact_groups () | |
List all contact groups I am a member of. |
User NoAuth model.
User_NoAuth_Model::authorized_for | ( | $ | auth_point | ) |
Returns if a user is authorized for a certain authorization point.
$auth_point | string |
Reimplemented from User_Model.
User_NoAuth_Model::authorized_for_object | ( | $ | object_type, | |
$ | object_definition, | |||
$ | case_sensitivity = true | |||
) |
Test if user is authorized for viewing a certain object.
$object_definition | string object name, or array of names defining a "path" | |
$object_type | string object type (host/service) | |
$case_sensitivity | boolean |
Reimplemented from User_Model.
User_NoAuth_Model::get_contact_groups | ( | ) |
List all contact groups I am a member of.
TODO: Deprecate? (this method is called from Nagvis)
Reimplemented from User_Model.
User_NoAuth_Model::logged_in | ( | ) |
Returns true if logged in.
Reimplemented from User_Model.