diff options
-rw-r--r-- | src/server/game/Accounts/RBAC.h | 38 | ||||
-rw-r--r-- | src/server/scripts/Commands/cs_rbac.cpp | 6 | ||||
-rw-r--r-- | src/server/worldserver/worldserver.conf.dist | 2 |
3 files changed, 23 insertions, 23 deletions
diff --git a/src/server/game/Accounts/RBAC.h b/src/server/game/Accounts/RBAC.h index 5420df29d17..d2c76b71801 100644 --- a/src/server/game/Accounts/RBAC.h +++ b/src/server/game/Accounts/RBAC.h @@ -161,10 +161,10 @@ class RBACData: public RBACObject * @name HasPermission
* @brief Checks if certain action is allowed
*
- * Checks if certain action can be performed.
+ * Checks if certain action can be performed.
*
* @return grant or deny action
- *
+ *
* Example Usage:
* @code
* bool Player::CanJoinArena(Battleground* bg)
@@ -175,7 +175,7 @@ class RBACData: public RBACObject */
bool HasPermission(uint32 permission) { return _globalPerms.test(permission); }
- // Functions enabled to be used by command system
+ // Functions enabled to be used by command system
/// Returns all the granted permissions (after computation)
RBACPermissionContainer const& GetPermissions() const { return _globalPerms; }
/// Returns all the granted permissions
@@ -197,12 +197,12 @@ class RBACData: public RBACObject * No save to db action will be performed.
*
* Fails if group Id does not exists or group already present
- *
+ *
* @param groupId group to be added
* @param realmId realm affected
*
* @return Success or failure (with reason) to add the group
- *
+ *
* Example Usage:
* @code
* // previously defined "RBACData* rbac" with proper initialization
@@ -222,12 +222,12 @@ class RBACData: public RBACObject * "all realms (-1)" in addition to the realm specified
*
* Fails if group not present
- *
+ *
* @param groupId group to be removed
* @param realmId realm affected
*
* @return Success or failure (with reason) to remove the group
- *
+ *
* Example Usage:
* // previously defined "RBACData* rbac" with proper initialization
* uint32 groupId = 2;
@@ -245,12 +245,12 @@ class RBACData: public RBACObject * No save to db action will be performed.
*
* Fails if role Id does not exists or role already granted or denied
- *
+ *
* @param roleId role to be granted
* @param realmId realm affected
*
* @return Success or failure (with reason) to grant the role
- *
+ *
* Example Usage:
* // previously defined "RBACData* rbac" with proper initialization
* uint32 roleId = 2;
@@ -268,12 +268,12 @@ class RBACData: public RBACObject * No save to db action will be performed.
*
* Fails if role Id does not exists or role already granted or denied
- *
+ *
* @param roleId role to be denied
* @param realmId realm affected
*
* @return Success or failure (with reason) to deny the role
- *
+ *
* Example Usage:
* // previously defined "RBACData* rbac" with proper initialization
* uint32 roleId = 2;
@@ -292,12 +292,12 @@ class RBACData: public RBACObject * "all realms (-1)" in addition to the realm specified
*
* Fails if role not present
- *
+ *
* @param roleId role to be removed
* @param realmId realm affected
*
* @return Success or failure (with reason) to remove the role
- *
+ *
* Example Usage:
* // previously defined "RBACData* rbac" with proper initialization
* uint32 roleId = 2;
@@ -315,12 +315,12 @@ class RBACData: public RBACObject * No save to db action will be performed.
*
* Fails if permission Id does not exists or permission already granted or denied
- *
+ *
* @param permissionId permission to be granted
* @param realmId realm affected
*
* @return Success or failure (with reason) to grant the permission
- *
+ *
* Example Usage:
* // previously defined "RBACData* rbac" with proper initialization
* uint32 permissionId = 2;
@@ -338,12 +338,12 @@ class RBACData: public RBACObject * No save to db action will be performed.
*
* Fails if permission Id does not exists or permission already granted or denied
- *
+ *
* @param permissionId permission to be denied
* @param realmId realm affected
*
* @return Success or failure (with reason) to deny the permission
- *
+ *
* Example Usage:
* // previously defined "RBACData* rbac" with proper initialization
* uint32 permissionId = 2;
@@ -362,12 +362,12 @@ class RBACData: public RBACObject * "all realms (-1)" in addition to the realm specified
*
* Fails if permission not present
- *
+ *
* @param permissionId permission to be removed
* @param realmId realm affected
*
* @return Success or failure (with reason) to remove the permission
- *
+ *
* Example Usage:
* // previously defined "RBACData* rbac" with proper initialization
* uint32 permissionId = 2;
diff --git a/src/server/scripts/Commands/cs_rbac.cpp b/src/server/scripts/Commands/cs_rbac.cpp index fb21def4c02..092aabb0045 100644 --- a/src/server/scripts/Commands/cs_rbac.cpp +++ b/src/server/scripts/Commands/cs_rbac.cpp @@ -674,7 +674,7 @@ public: handler->SetSentErrorMessage(true);
return false;
}
-
+
handler->PSendSysMessage("%s", handler->GetTrinityString(LANG_RBAC_LIST_GROUPS_HEADER));
handler->PSendSysMessage(LANG_RBAC_LIST_ELEMENT, group->GetId(), group->GetName().c_str());
handler->PSendSysMessage("%s", handler->GetTrinityString(LANG_RBAC_LIST_ROLES_HEADER));
@@ -719,7 +719,7 @@ public: handler->SetSentErrorMessage(true);
return false;
}
-
+
handler->PSendSysMessage("%s", handler->GetTrinityString(LANG_RBAC_LIST_ROLES_HEADER));
handler->PSendSysMessage(LANG_RBAC_LIST_ELEMENT, role->GetId(), role->GetName().c_str());
handler->PSendSysMessage("%s", handler->GetTrinityString(LANG_RBAC_LIST_PERMISSIONS_HEADER));
@@ -765,7 +765,7 @@ public: handler->SetSentErrorMessage(true);
return false;
}
-
+
handler->PSendSysMessage("%s", handler->GetTrinityString(LANG_RBAC_LIST_PERMISSIONS_HEADER));
handler->PSendSysMessage(LANG_RBAC_LIST_ELEMENT, permission->GetId(), permission->GetName().c_str());
}
diff --git a/src/server/worldserver/worldserver.conf.dist b/src/server/worldserver/worldserver.conf.dist index f6a09667dda..e519a53a5af 100644 --- a/src/server/worldserver/worldserver.conf.dist +++ b/src/server/worldserver/worldserver.conf.dist @@ -2706,7 +2706,7 @@ UI.ShowQuestLevelsInDialogs = 0 # Maximum value is 4294967295 (4 gb). Leave blank for no limit. # NOTE: Does not work with dynamic filenames. # Example: 536870912 (512 mb) -# +# Appender.Console=1,3,0 Appender.Server=2,2,0,Server.log,w |