Browse Source

fix: user role can't open page of password & ssh key

pull/14080/head
Bai 3 months ago committed by w940853815
parent
commit
e3bf015aa9
  1. 1
      apps/rbac/builtin.py

1
apps/rbac/builtin.py

@ -30,6 +30,7 @@ system_user_perms = (
('authentication', 'temptoken', 'add,change,view', 'temptoken'), ('authentication', 'temptoken', 'add,change,view', 'temptoken'),
('authentication', 'accesskey', '*', '*'), ('authentication', 'accesskey', '*', '*'),
('authentication', 'passkey', '*', '*'), ('authentication', 'passkey', '*', '*'),
('authentication', 'sshkey', '*', '*'),
('tickets', 'ticket', 'view', 'ticket'), ('tickets', 'ticket', 'view', 'ticket'),
) )
system_user_perms += (user_perms + _view_all_joined_org_perms) system_user_perms += (user_perms + _view_all_joined_org_perms)

Loading…
Cancel
Save