mirror of https://github.com/jumpserver/jumpserver
				
				
				
			perf: 修改 perm node title
							parent
							
								
									46e119db1f
								
							
						
					
					
						commit
						fa2c70c6be
					
				| 
						 | 
				
			
			@ -43,7 +43,7 @@ exclude_permissions = (
 | 
			
		|||
    ('perms', 'rebuildusertreetask', '*', '*'),
 | 
			
		||||
    ('rbac', 'contenttype', '*', '*'),
 | 
			
		||||
    ('rbac', 'permission', 'add,delete,change', 'permission'),
 | 
			
		||||
    ('rbac', 'rolebingding', '*', '*'),
 | 
			
		||||
    ('rbac', 'rolebinding', '*', '*'),
 | 
			
		||||
    ('rbac', 'role', '*', '*'),
 | 
			
		||||
    ('ops', 'adhoc', '*', '*'),
 | 
			
		||||
    ('ops', 'adhocexecution', '*', '*'),
 | 
			
		||||
| 
						 | 
				
			
			@ -77,6 +77,7 @@ only_system_permissions = (
 | 
			
		|||
    ('orgs', 'organization', '*', '*'),
 | 
			
		||||
    ('xpack', 'license', '*', '*'),
 | 
			
		||||
    ('settings', 'setting', '*', '*'),
 | 
			
		||||
    ('ops', 'task', 'view', 'taskmonitor'),
 | 
			
		||||
    ('terminal', 'terminal', '*', '*'),
 | 
			
		||||
    ('terminal', 'commandstorage', '*', '*'),
 | 
			
		||||
    ('terminal', 'replaystorage', '*', '*'),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -339,7 +339,7 @@ class PermissionTreeUtil:
 | 
			
		|||
            node = TreeNode(**{
 | 
			
		||||
                'id': p.id,
 | 
			
		||||
                'name': name,
 | 
			
		||||
                'title': p.name,
 | 
			
		||||
                'title': p.app_label_codename,
 | 
			
		||||
                'pId': model_id,
 | 
			
		||||
                'isParent': False,
 | 
			
		||||
                'chkDisabled': self.check_disabled,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue