You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "s7monk (via GitHub)" <gi...@apache.org> on 2024/06/10 10:14:47 UTC
[I] [Bug] The permission configuration when creating a role calls the wrong interface [paimon-webui]
s7monk opened a new issue, #328:
URL: https://github.com/apache/paimon-webui/issues/328
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/paimon-webui/issues) and found nothing similar.
### Paimon UI version
main
### Compute Engine
Flink
### Minimal reproduce step
The permission configuration when creating a role calls the roleMenuTreeselect interface to display the menu. The interface passes a role id, which represents all the menu permissions of the current role, not all menus. This is unreasonable. For example, I use the admin account to create a new role test, assign some menu permissions, create a test user, assign the test role to the test user, and then log in with the test user. When creating a role, the permission configuration can only display some menus. The treeselect interface should be called instead of the roleMenuTreeselect interface.

### What doesn't meet your expectations?
The permission configuration when creating a role calls the roleMenuTreeselect interface to display the menu. The interface passes a role id, which represents all the menu permissions of the current role, not all menus. This is unreasonable. For example, I use the admin account to create a new role test, assign some menu permissions, create a test user, assign the test role to the test user, and then log in with the test user. When creating a role, the permission configuration can only display some menus. The treeselect interface should be called instead of the roleMenuTreeselect interface.
### Anything else?
_No response_
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
--
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: issues-unsubscribe@paimon.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] The permission configuration when creating a role calls the wrong interface [paimon-webui]
Posted by "s7monk (via GitHub)" <gi...@apache.org>.
s7monk closed issue #328: [Bug] The permission configuration when creating a role calls the wrong interface
URL: https://github.com/apache/paimon-webui/issues/328
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org