mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 23:14:53 +09:00
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:
1 parent
36865cfcf9
commit
63a656cd61
4 files changed
+4
-4
No files matched your search
@@ -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]);
|
||||
|
||||
Reference in new issue
Block a user