From e3bf015aa98c9652c77b26e51015e6ad55757508 Mon Sep 17 00:00:00 2001 From: Bai Date: Thu, 29 Aug 2024 14:19:55 +0800 Subject: [PATCH] fix: user role can't open page of password & ssh key --- apps/rbac/builtin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/rbac/builtin.py b/apps/rbac/builtin.py index 8498f7776..946923878 100644 --- a/apps/rbac/builtin.py +++ b/apps/rbac/builtin.py @@ -30,6 +30,7 @@ system_user_perms = ( ('authentication', 'temptoken', 'add,change,view', 'temptoken'), ('authentication', 'accesskey', '*', '*'), ('authentication', 'passkey', '*', '*'), + ('authentication', 'sshkey', '*', '*'), ('tickets', 'ticket', 'view', 'ticket'), ) system_user_perms += (user_perms + _view_all_joined_org_perms)