Skip to content

Commit d964dcf

Browse files
committed
Fix RBAC to action-alias help and match api.
1 parent b2dad1e commit d964dcf

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

CHANGELOG.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ Fixed
1313
* Bumped `paramiko` to `2.10.5` to fix an issue with SSH Certs - https://github.com/paramiko/paramiko/issues/2017
1414
Contributed by @jk464
1515

16+
* Fixed RBAC support to action-alias help and match end point. #6022
17+
Contributed by @nzlosh
18+
1619
Added
1720
~~~~~
1821
* Move `git clone` to `user_home/.st2packs` #5845

st2common/st2common/openapi.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -806,6 +806,11 @@ paths:
806806
description: Object containing the format to be matched.
807807
schema:
808808
$ref: '#/definitions/ActionAliasMatchRequest'
809+
x-parameters:
810+
- name: user
811+
in: context
812+
x-as: requester_user
813+
description: User performing the operation.
809814
responses:
810815
'200':
811816
description: Action alias match pattern
@@ -840,6 +845,11 @@ paths:
840845
description: Number of actions alias to offset
841846
type: integer
842847
default: 0
848+
x-parameters:
849+
- name: user
850+
in: context
851+
x-as: requester_user
852+
description: User performing the operation.
843853
responses:
844854
'200':
845855
description: Action alias match pattern

st2common/st2common/openapi.yaml.j2

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,11 @@ paths:
802802
description: Object containing the format to be matched.
803803
schema:
804804
$ref: '#/definitions/ActionAliasMatchRequest'
805+
x-parameters:
806+
- name: user
807+
in: context
808+
x-as: requester_user
809+
description: User performing the operation.
805810
responses:
806811
'200':
807812
description: Action alias match pattern
@@ -836,6 +841,11 @@ paths:
836841
description: Number of actions alias to offset
837842
type: integer
838843
default: 0
844+
x-parameters:
845+
- name: user
846+
in: context
847+
x-as: requester_user
848+
description: User performing the operation.
839849
responses:
840850
'200':
841851
description: Action alias match pattern

0 commit comments

Comments
 (0)