mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-15 15:24:52 +09:00
Allow players to list users by default
The rationale for not allowing players to list users in the cluster by default was that this would be an information disclosure of banned users in the cluster, but given that a player is a user that can connect to a server, and anyone that can connect to a server get the full banlist from the server during the connection phase this does not make much sense. Grant permission to list users by default for players.
This commit is contained in:
1 parent
58e5d96e1d
commit
d29715e9ad
1 file changed
+3
@@ -618,16 +618,19 @@ definePermission({
|
||||
name: "core.user.get",
|
||||
title: "Get user",
|
||||
description: "Get the details of a user in the cluster.",
|
||||
grantByDefault: true,
|
||||
});
|
||||
definePermission({
|
||||
name: "core.user.list",
|
||||
title: "List users",
|
||||
description: "Get the full list of users in the cluster.",
|
||||
grantByDefault: true,
|
||||
});
|
||||
definePermission({
|
||||
name: "core.user.subscribe",
|
||||
title: "Subscribe to user updates",
|
||||
description: "Subscribe to be notified on updates on the details and status of users.",
|
||||
grantByDefault: true,
|
||||
});
|
||||
definePermission({
|
||||
name: "core.user.create",
|
||||
|
||||
Reference in new issue
Block a user