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],
|
group=Group.SYSTEM_RES_TOOL, operate=Operate.READ, role_list=[RoleConstants.ADMIN],
|
||||||
parent_group=[SystemGroup.RESOURCE_TOOL]
|
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(
|
RESOURCE_TOOL_EDIT = Permission(
|
||||||
group=Group.SYSTEM_RES_TOOL, operate=Operate.EDIT, role_list=[RoleConstants.ADMIN],
|
group=Group.SYSTEM_RES_TOOL, operate=Operate.EDIT, role_list=[RoleConstants.ADMIN],
|
||||||
parent_group=[SystemGroup.RESOURCE_TOOL]
|
parent_group=[SystemGroup.RESOURCE_TOOL]
|
||||||
@ -1411,10 +1407,6 @@ class PermissionConstants(Enum):
|
|||||||
group=Group.SYSTEM_RES_TOOL, operate=Operate.DEBUG, role_list=[RoleConstants.ADMIN],
|
group=Group.SYSTEM_RES_TOOL, operate=Operate.DEBUG, role_list=[RoleConstants.ADMIN],
|
||||||
parent_group=[SystemGroup.RESOURCE_TOOL]
|
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(
|
RESOURCE_TOOL_EXPORT = Permission(
|
||||||
group=Group.SYSTEM_RES_TOOL, operate=Operate.EXPORT, role_list=[RoleConstants.ADMIN],
|
group=Group.SYSTEM_RES_TOOL, operate=Operate.EXPORT, role_list=[RoleConstants.ADMIN],
|
||||||
parent_group=[SystemGroup.RESOURCE_TOOL]
|
parent_group=[SystemGroup.RESOURCE_TOOL]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user