Class Role

class Role : public Grantee

Public Functions

Role(const std::string &name)
~Role()
bool isUser() const
void updatePrivileges()
void renameDbObject(const DBObject &object)
void addGrantee(Grantee *grantee)
void removeGrantee(Grantee *grantee)
void revokeAllOnDatabase(int32_t dbId)
std::vector<Grantee *> getGrantees() const

Private Members

std::unordered_set<Grantee *> grantees_