UserRight class getters #
controller #
Returns the controller name on which the rights apply.
Can be a wildcard (*
).
Signature #
const std::string& controller() const;
action #
Returns the action name on which the rights apply.
Can be a wildcard (*
).
Signature #
const std::string& action() const;
index #
Returns the index name on which the rights apply.
Can be a wildcard (*
).
Signature #
const std::string& index() const;
collection #
Returns the collection name on which the rights apply.
Can be a wildcard (*
).
Signature #
const std::string& collection() const;
value #
Returns the value name on which the rights apply.
Can be one of the following: allowed
, denied
or conditional
Signature #
const std::string& value() const;
Usage #
kuzzleio::UserRight user_right;
std::string controller = user_right.controller();
std::string action = user_right.action();
std::string index = user_right.index();
std::string collection = user_right.collection();
std::string value = user_right.value();
Edit this page on Github(opens new window)