fix: windows sync remove account fail and applet deploy rbac perm error and job exection log admin auditor cannot view

This commit is contained in:
feng
2024-05-25 22:45:30 +08:00
committed by Eric_Lee
parent 7f90fccc4f
commit 81da9e018a
3 changed files with 21 additions and 5 deletions

View File

@@ -60,7 +60,7 @@ class AppletHostDeploymentViewSet(viewsets.ModelViewSet):
queryset = AppletHostDeployment.objects.all()
filterset_fields = ['host', ]
rbac_perms = (
('applets', 'terminal.view_AppletHostDeployment'),
('applets', 'terminal.view_applethostdeployment'),
('uninstall', 'terminal.change_applethost'),
)