mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: Resource tool permission constants
This commit is contained in:
parent
a62ed23315
commit
6adc051cad
|
|
@ -1395,10 +1395,6 @@ class PermissionConstants(Enum):
|
|||
group=Group.SYSTEM_RES_TOOL, operate=Operate.READ, role_list=[RoleConstants.ADMIN],
|
||||
parent_group=[SystemGroup.RESOURCE_TOOL]
|
||||
)
|
||||
RESOURCE_TOOL_CREATE = Permission(
|
||||
group=Group.SYSTEM_RES_TOOL, operate=Operate.CREATE, role_list=[RoleConstants.ADMIN],
|
||||
parent_group=[SystemGroup.RESOURCE_TOOL]
|
||||
)
|
||||
RESOURCE_TOOL_EDIT = Permission(
|
||||
group=Group.SYSTEM_RES_TOOL, operate=Operate.EDIT, role_list=[RoleConstants.ADMIN],
|
||||
parent_group=[SystemGroup.RESOURCE_TOOL]
|
||||
|
|
@ -1411,10 +1407,6 @@ class PermissionConstants(Enum):
|
|||
group=Group.SYSTEM_RES_TOOL, operate=Operate.DEBUG, role_list=[RoleConstants.ADMIN],
|
||||
parent_group=[SystemGroup.RESOURCE_TOOL]
|
||||
)
|
||||
RESOURCE_TOOL_IMPORT = Permission(
|
||||
group=Group.SYSTEM_RES_TOOL, operate=Operate.IMPORT, role_list=[RoleConstants.ADMIN],
|
||||
parent_group=[SystemGroup.RESOURCE_TOOL]
|
||||
)
|
||||
RESOURCE_TOOL_EXPORT = Permission(
|
||||
group=Group.SYSTEM_RES_TOOL, operate=Operate.EXPORT, role_list=[RoleConstants.ADMIN],
|
||||
parent_group=[SystemGroup.RESOURCE_TOOL]
|
||||
|
|
|
|||
Loading…
Reference in New Issue