mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 15:11:27 +00:00
fix: 修复存储测试权限位
This commit is contained in:
committed by
Jiangjie.Bai
parent
c4280d259a
commit
172b492bc3
@@ -131,7 +131,13 @@ class BaseStorageTestConnectiveMixin:
|
||||
|
||||
class CommandStorageTestConnectiveApi(BaseStorageTestConnectiveMixin, generics.RetrieveAPIView):
|
||||
queryset = CommandStorage.objects.all()
|
||||
rbac_perms = {
|
||||
'retrieve': 'terminal.view_commandstorage'
|
||||
}
|
||||
|
||||
|
||||
class ReplayStorageTestConnectiveApi(BaseStorageTestConnectiveMixin, generics.RetrieveAPIView):
|
||||
queryset = ReplayStorage.objects.all()
|
||||
rbac_perms = {
|
||||
'retrieve': 'terminal.view_replaystorage'
|
||||
}
|
||||
|
Reference in New Issue
Block a user