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
@@ -312,7 +312,7 @@ describe("Integration of Clusterio", function() {
describe("user set-roles", function() {
it("should set the roles on the user", async function() {
await execCtl("user set-roles temp Admin");
await execCtl('user set-roles temp "Cluster Admin"');
let result = await libLink.messages.listUsers.send(getControl());
let tempUser = result.list.find(user => user.name === "temp");
assert.deepEqual(tempUser.roles, [0]);