Skip to content

ARTEMIS-5958 refactor security store to expose hasPermission bool, to…#6309

Open
gtully wants to merge 1 commit intoapache:mainfrom
gtully:_ARTEMIS-5958
Open

ARTEMIS-5958 refactor security store to expose hasPermission bool, to…#6309
gtully wants to merge 1 commit intoapache:mainfrom
gtully:_ARTEMIS-5958

Conversation

@gtully
Copy link
Copy Markdown
Contributor

@gtully gtully commented Mar 20, 2026

… get a fast path for rbac chechs that restrict access. the regular check is still in play for invocations

Assisted-by: Claude

@gtully gtully requested review from gemmellr and jbertram March 20, 2026 10:56
@tabish121
Copy link
Copy Markdown
Contributor

There's a lack of tests here that cover the new split out hasPermissions API which would seems like something we'd want to add. I know the new API is called from the old check method now but it would seem like testing in isolation the new API would be prudent.

… get a fast path for rbac chechs that restrict access. the regular check is still in play for invocations

Assisted-by: Claude
@gtully
Copy link
Copy Markdown
Contributor Author

gtully commented Mar 31, 2026

good call, added some more test coverage for the new and existing api to protect it into the future. thanks @tabish121 for taking a look.

Copy link
Copy Markdown
Contributor

@tabish121 tabish121 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to make proper split of the API, would be good to get @jbertram to have a look as he is more familiar with this

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.

2 participants