Skip to content

Commit ed43d7e

Browse files
yud8ruanwenjun
authored andcommitted
[Fix-17995][API]Non-admin users cannot delete their own access tokens
1 parent c3d6286 commit ed43d7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/permission/ResourcePermissionCheckServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ public List<AuthorizationType> authorizationTypes() {
426426

427427
@Override
428428
public boolean permissionCheck(int userId, String url, Logger logger) {
429-
return false;
429+
return true;
430430
}
431431

432432
@Override

0 commit comments

Comments
 (0)