-
-
Notifications
You must be signed in to change notification settings - Fork 747
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add RBAC to action-alias help api. #6022
base: master
Are you sure you want to change the base?
Conversation
e969b44
to
5d710f3
Compare
95ca54e
to
781a03d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These st2-specific x-*
keys are odd.
@@ -802,6 +802,11 @@ paths: | |||
description: Object containing the format to be matched. | |||
schema: | |||
$ref: '#/definitions/ActionAliasMatchRequest' | |||
x-parameters: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see x-permissions
above. I wonder why that isn't triggering the permission check.
@cognifloyd You're right, the |
I just tested further, the RBAC tests inside the function calls for help/match aren't required because they're checked earlier in the router functions. However, the openapi spec does require
|
3f46cab
to
d964dcf
Compare
No description provided.