mirror of https://github.com/jumpserver/jumpserver
parent
10c877c120
commit
416d4bd0c3
|
@ -22,6 +22,7 @@ auditor_perms = user_perms + (
|
|||
('terminal', 'sessionreplay', 'view,download', 'sessionreplay'),
|
||||
('terminal', 'session', '*', '*'),
|
||||
('terminal', 'command', '*', '*'),
|
||||
('ops', 'commandexecution', 'view', 'commandexecution')
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -60,11 +60,14 @@ exclude_permissions = (
|
|||
('audits', 'passwordchangelog', 'add,change,delete', 'passwordchangelog'),
|
||||
('audits', 'userloginlog', 'add,change,delete,change', 'userloginlog'),
|
||||
('audits', 'ftplog', 'change,delete', 'ftplog'),
|
||||
('tickets', 'ticketassignee', '*', 'ticketassignee'),
|
||||
('tickets', 'ticketflow', 'add,delete', 'ticketflow'),
|
||||
('tickets', 'comment', 'change,delete', 'comment'),
|
||||
('tickets', 'ticket', 'delete', 'ticket'),
|
||||
('tickets', 'ticketstep', '*', '*'),
|
||||
('tickets', 'approvalrule', '*', '*'),
|
||||
('tickets', 'superticket', 'delete', 'superticket'),
|
||||
('tickets', 'ticketsession', 'delete', 'ticketsession'),
|
||||
('xpack', 'interface', '*', '*'),
|
||||
('xpack', 'license', '*', '*'),
|
||||
('xpack', 'syncinstancedetail', 'add,delete,change', 'syncinstancedetail'),
|
||||
|
@ -87,7 +90,6 @@ only_system_permissions = (
|
|||
('rbac', 'rolebinding', '*', '*'),
|
||||
('rbac', 'systemrolebinding', '*', '*'),
|
||||
('rbac', 'orgrole', 'delete,add,change', '*'),
|
||||
('rbac', 'orgrolebinding', 'delete,add,change', '*'),
|
||||
('orgs', 'organization', '*', '*'),
|
||||
('xpack', 'license', '*', '*'),
|
||||
('settings', 'setting', '*', '*'),
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
# Generated by Django 3.1.14 on 2022-03-11 08:23
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('settings', '0007_auto_20220310_2006'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='setting',
|
||||
options={'permissions': [('change_basic', 'Can change basic setting'), ('change_email', 'Can change email setting'), ('change_auth', 'Can change auth setting'), ('change_systemmsgsubscription', 'Can sys msg sub setting'), ('change_sms', 'Can change sms setting'), ('change_security', 'Can change security setting'), ('change_clean', 'Can change clean setting'), ('change_interface', 'Can change interface setting'), ('change_license', 'Can change license setting'), ('change_terminal', 'Can change terminal setting'), ('change_other', 'Can change other setting')], 'verbose_name': 'System setting'},
|
||||
),
|
||||
]
|
Loading…
Reference in New Issue