Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.
Comentarios: Migrated to Confluence 5.3

...

NameSyntaxDescription
.rbac accountSyntax: .rbac account [$account]

View permissions of selected player or given account

Note: Only those that affect current realm

Note: Shows real permissions after checking group and roles

.rbac account permissionSyntax: .rbac account permission list [$account]

View permissions of selected player or given account

Note: Only those that affect current realm

Note: Only those directly granted or denied, does not include inherited permissions from roles

.rbac account permission grantSyntax: .rbac account permission grant [$account] #id [#realmId]

Grant a permission to selected player or given account.

#reamID may be -1 for all realms.

.rbac account permission denySyntax: .rbac account permission deny [$account] #id [#realmId]

Deny a permission to selected player or given account.

#reamID may be -1 for all realms.

.rbac account permission revokeSyntax: .rbac account permission revoke [$account] #id

Remove a permission from an account

Note: Removes the permission from granted or denied permissions

.rbac listSyntax: .rbac list

View list of all permissions.

If $id is given will show only info for that permission.

...

Table NameTable DescriptionField NameField TypeField Description
rbac_account_permissionsAccount-Permission relationaccountIdintAccount id
permissionIdintPermission id
grantedintGranted = 1, Denied = 0
realmIdintRealm Id, -1 means all
rbac_permissionsPermission ListidintPermission id
nametextPermission name
rbac_default_permissionsDefault permissions to assign to a specific security level (account_access)secIdintSecurity Level id
permissionIdintPermission id
rbac_linked_permissions

Assigns permissions to roles (see rbac_permissions for permissions with name "role")

Can also be used to link permissions to permissions (creating new roles)

idintSecurity Level id
linkedIdintPermission id

 

 

Sugerencia
titleRBAC Management ToolSuggestion

Create a web interface (in PHP or other accessible web technology) to ease the management of the RBAC system.

If simple and good enough, it could possibly be added to TrinityCore repository (/contrib/ directory)!

 

 

 

...