|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <RBAC.h>
Public Member Functions | |
| void | AddLinkedPermission (uint32 id) |
| Adds a new linked Permission. | |
| uint32 | GetId () const |
| Gets the Id of the Object. | |
| RBACPermissionContainer const & | GetLinkedPermissions () const |
| Gets the Permissions linked to this permission. | |
| std::string const & | GetName () const |
| Gets the Name of the Object. | |
| RBACPermission (uint32 id=0, std::string const &name="") | |
| void | RemoveLinkedPermission (uint32 id) |
| Removes a linked Permission. | |
Private Attributes | |
| uint32 | _id |
| std::string | _name |
| RBACPermissionContainer | _perms |
|
inline |
|
inline |
Adds a new linked Permission.
Definition at line 741 of file RBAC.h.
References _perms.
Referenced by AccountMgr::LoadRBAC().
|
inline |
Gets the Id of the Object.
Definition at line 736 of file RBAC.h.
References _id.
Referenced by rbac_commandscript::HandleRBACListPermissionsCommand(), and rbac_commandscript::HandleRBACPermListCommand().
|
inline |
Gets the Permissions linked to this permission.
Definition at line 739 of file RBAC.h.
References _perms.
Referenced by rbac::RBACData::ExpandPermissions(), and rbac_commandscript::HandleRBACListPermissionsCommand().
|
inline |
Gets the Name of the Object.
Definition at line 734 of file RBAC.h.
References _name.
Referenced by rbac_commandscript::HandleRBACListPermissionsCommand(), rbac_commandscript::HandleRBACPermDenyCommand(), rbac_commandscript::HandleRBACPermGrantCommand(), rbac_commandscript::HandleRBACPermListCommand(), and rbac_commandscript::HandleRBACPermRevokeCommand().
|
inline |
|
private |
Definition at line 746 of file RBAC.h.
Referenced by GetId(), and RBACPermission().
|
private |
id of the object
Definition at line 747 of file RBAC.h.
Referenced by GetName(), and RBACPermission().
|
private |
name of the object
Definition at line 748 of file RBAC.h.
Referenced by AddLinkedPermission(), GetLinkedPermissions(), RBACPermission(), and RemoveLinkedPermission().