Skip to content

Conversation

@brusdev
Copy link
Member

@brusdev brusdev commented Feb 10, 2026

The canInvoke method received operation names with parameter signatures (e.g., "deleteAddress(java.lang.String)"), while invoke received them without signatures (e.g., "deleteAddress"). This caused the RBAC address built by canInvoke to differ from the one built by invoke, leading to permission check mismatches that prevented the console from properly hiding unauthorized menu items.

This fix normalizes operation names by stripping parameter signatures before building RBAC addresses in both canInvoke and invoke. Also changes null operation checks to require VIEW instead of EDIT permission, allowing users to see MBeans they have view access to.

The canInvoke method received operation names with parameter signatures
(e.g., "deleteAddress(java.lang.String)"), while invoke received them
without signatures (e.g., "deleteAddress"). This caused the RBAC address
built by canInvoke to differ from the one built by invoke, leading to
permission check mismatches that prevented the console from properly
hiding unauthorized menu items.

This fix normalizes operation names by stripping parameter signatures
before building RBAC addresses in both canInvoke and invoke. Also changes
null operation checks to require VIEW instead of EDIT permission,
allowing users to see MBeans they have view access to.
@jbertram
Copy link
Contributor

LGTM

@tabish121
Copy link
Contributor

This looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants