- add
void add(Permission permission)
Undocumented in source. Be warned that the author may not have intended to support it.
- addAll
void addAll(Collection!(Permission) perms)
Undocumented in source. Be warned that the author may not have intended to support it.
- getName
string getName()
Undocumented in source. Be warned that the author may not have intended to support it.
- getPermissions
Set!(Permission) getPermissions()
Undocumented in source. Be warned that the author may not have intended to support it.
- isPermitted
bool isPermitted(Permission p)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
- setName
void setName(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
- setPermissions
void setPermissions(Set!(Permission) permissions)
Undocumented in source. Be warned that the author may not have intended to support it.
- toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.
- toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
A simple representation of a security role that has a name and a collection of permissions. This object can be used internally by Realms to maintain authorization state.