Open dubi0us opened 3 years ago
I can confirm this bug when using err-stackstorm.
This seems to be still an issue with st2 3.7 and err-stackstorm and rbac enabled.
Regardless of the bot even if I hit directly
Endpoint: GET/api/v1/actionalias/help
it throws 500 (with rbac enabled, using system user)
So the issue is not with RBAC in itself but with st2api
https://github.com/StackStorm/st2/blob/master/st2api/st2api/controllers/v1/actionalias.py#L102
Calling the action alias help endpoint results in 500 when RBAC is enabled and the action_alias_help permission grant if specified in a role.
St2 version: st2 3.3.0, on Python 3.6.8
OS: CentOS Linux release 8.2.2004 (Core)
RBAC: master branch
Role: chatbot.yaml
assignment: bot.yaml
st2api.log :
Endpoint: GET/api/v1/actionalias/help (using user name / password and auth-token).
Result: 500: {'faultstring': 'Internal Server Error'}