mirror of https://github.com/jumpserver/jumpserver
fix: user role can't open page of password & ssh key
parent
56373e362b
commit
cce4e48430
|
@ -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…
Reference in New Issue