61 std::vector<std::string>
ancestors(
const std::string& role);
89 #endif // __ROLES_HPP__
Try< std::vector< std::string > > parse(const std::string &text)
Parses Roles from text in the form "role1,role2,role3".
Definition: parse.hpp:36
bool isStrictSubroleOf(const std::string &left, const std::string &right)
Returns true iff left is a strict subrole of right.
Option< Error > validate(const std::string &role)
Validates the given role name.
std::vector< std::string > ancestors(const std::string &role)
Returns the ancestor roles for the role.