How does the execution_view permission work? #5854
Unanswered
leonardo-zorzi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
i would like to restrict a user to execute only a specific action/workflow and view the execution details of only this action.
My current role looks like this:
Role creation and user assignment were successful (clean st2-apply-rbac-definitions --config-file=/etc/st2/st2.conf logs + verified with CLI).
I can post a new execution via the api/v1/executions endpoint (with users api key). But a can't retrieve the status via the api/v1/executions/{id} endpoint.
User \my-test-user\" doesn't have required permission \"execution_view\" on resource \"execution:<id>\"
Whats interesting is that i get responses with /api/v1/executions/{id}/result. But this does not include the workflows succeeded: true/false.
rbac.permission_isolation permission is not configured.
Thank you in advance! :)
Beta Was this translation helpful? Give feedback.
All reactions