Rename default Admin role to Cluster Admin

Clarify the purpose and distinquesh the Admin role a bit better from the
in-game admin status by renaming the role to Cluster Admin.
This commit is contained in:
Hornwitser committed 2020-11-09 15:57:46 +01:00
1 parent 36865cfcf9
commit 63a656cd61
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -102,7 +102,7 @@ class Role {
function ensureDefaultAdminRole(roles) {
let admin = roles.get(0);
if (!admin) {
admin = new Role({ id: 0, name: "Admin", description: "Cluster wide administrator." });
admin = new Role({ id: 0, name: "Cluster Admin", description: "Cluster wide administrator." });
roles.set(0, admin);
}
admin.permissions.add("core.admin");