File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -82,13 +82,13 @@ const ApplicationDetailRouter = {
8282 ( ) => {
8383 const to : any = get_next_route ( )
8484 if ( to . params . from == 'resource-management' ) { } else {
85- return PermissionConst . APPLICATION_EDIT . getWorkspacePermissionWorkspaceManageRole ( )
85+ return PermissionConst . APPLICATION_READ . getWorkspacePermissionWorkspaceManageRole ( )
8686 }
8787 } ,
8888 ( ) => {
8989 const to : any = get_next_route ( )
9090 if ( to . params . from == 'resource-management' ) { } else {
91- return PermissionConst . APPLICATION_EDIT . getApplicationWorkspaceResourcePermission (
91+ return PermissionConst . APPLICATION_READ . getApplicationWorkspaceResourcePermission (
9292 to ? to . params . id : '' ,
9393 )
9494 }
@@ -99,7 +99,7 @@ const ApplicationDetailRouter = {
9999 } ,
100100 ( ) => {
101101 const to : any = get_next_route ( )
102- if ( to . path . includes ( 'resource-management' ) ) { return PermissionConst . RESOURCE_APPLICATION_EDIT }
102+ if ( to . path . includes ( 'resource-management' ) ) { return PermissionConst . RESOURCE_APPLICATION_READ }
103103 } ,
104104 ]
105105 } ,
You can’t perform that action at this time.
0 commit comments