77 #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.