shangeyao opened a new issue, #4380:
URL: https://github.com/apache/streampark/issues/4380

   ## Problem
   
   Several Flink cluster and variable API endpoints are missing Shiro 
permission checks:
   
   **FlinkClusterController**
   - `page`, `list`, `alive`, `get`, `remote_url`, `check` — no permission
   - `start`, `shutdown`, `delete` — no permission (any authenticated user can 
operate clusters)
   
   **VariableController**
   - `list`, `check/code` — no permission (any authenticated user can enumerate 
variables by teamId)
   
   ## Expected
   
   Align with existing permission keys in `t_menu` (`cluster:create`, 
`cluster:update`, `variable:view`).
   
   ## Proposed fix
   
   Add `@RequiresPermissions` annotations using existing permission keys and 
`Logical.OR` where endpoints are shared with app workflows.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to