![]() |
TrinityCore
|
#include <RBAC.h>
Public Member Functions | |
| RBACPermission (uint32 id=0, std::string const &name="") | |
| RBACPermission (RBACPermission const &other) | |
| RBACPermission (RBACPermission &&other) noexcept | |
| RBACPermission & | operator= (RBACPermission const &right) |
| RBACPermission & | operator= (RBACPermission &&right) noexcept |
| ~RBACPermission () | |
| std::string const & | GetName () const |
| Gets the Name of the Object. | |
| uint32 | GetId () const |
| Gets the Id of the Object. | |
| RBACPermissionContainer const & | GetLinkedPermissions () const |
| Gets the Permissions linked to this permission. | |
| void | AddLinkedPermission (uint32 id) |
| Adds a new linked Permission. | |
| void | RemoveLinkedPermission (uint32 id) |
| Removes a linked Permission. | |
Private Attributes | |
| uint32 | _id |
| std::string | _name |
| |
| RBACPermissionContainer | _perms |
| |
| rbac::RBACPermission::RBACPermission | ( | uint32 | id = 0, |
| std::string const & | name = "" |
||
| ) |
|
default |
|
defaultnoexcept |
|
default |
|
inline |
Adds a new linked Permission.
Definition at line 793 of file RBAC.h.
Referenced by AccountMgr::LoadRBAC().
|
inline |
Gets the Id of the Object.
Definition at line 788 of file RBAC.h.
Referenced by rbac_commandscript::HandleRBACListPermissionsCommand(), and rbac_commandscript::HandleRBACPermListCommand().
|
inline |
Gets the Permissions linked to this permission.
Definition at line 791 of file RBAC.h.
Referenced by rbac::RBACData::ExpandPermissions(), and rbac_commandscript::HandleRBACListPermissionsCommand().
|
inline |
Gets the Name of the Object.
Definition at line 786 of file RBAC.h.
Referenced by rbac_commandscript::HandleRBACListPermissionsCommand(), rbac_commandscript::HandleRBACPermDenyCommand(), rbac_commandscript::HandleRBACPermGrantCommand(), rbac_commandscript::HandleRBACPermListCommand(), and rbac_commandscript::HandleRBACPermRevokeCommand().
|
defaultnoexcept |
|
default |
|
inline |
|
private |
|
private |