mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-28 08:47:13 +09:00
Add revoke user token action
Implement revoking of user tokens to allow lost credentials to be invalidated.
This commit is contained in:
1 parent
5426d9b2bd
commit
2960db2cca
7 files changed
+107
-6
No files matched your search
@@ -637,6 +637,17 @@ definePermission({
|
||||
title: "Create users",
|
||||
description: "Create user acounts with a given name.",
|
||||
});
|
||||
definePermission({
|
||||
name: "core.user.revoke_token",
|
||||
title: "Revoke user token",
|
||||
description: "Revoke access token and terminate all existing control connections for oneself.",
|
||||
grantByDefault: true,
|
||||
});
|
||||
definePermission({
|
||||
name: "core.user.revoke_other_token",
|
||||
title: "Revoke other user's token",
|
||||
description: "Allow revoking tokens for other users than oneself. Requires Revoke user token.",
|
||||
});
|
||||
definePermission({
|
||||
name: "core.user.update_roles",
|
||||
title: "Update user roles",
|
||||
|
||||
Reference in new issue
Block a user