Skip to content

Commit

Permalink
Update sample role definition file - show how to grant webhook_create…
Browse files Browse the repository at this point in the history
… permission

on a particular webhook.
  • Loading branch information
Kami committed Oct 5, 2015
1 parent c4eb5d4 commit e83ba9e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions st2tests/st2tests/fixtures/rbac/roles/role_sample.yaml
Expand Up @@ -25,6 +25,12 @@
resource_uid: "pack:dummy_pack_1"
permission_types:
- "rule_create"
-
# Here we grant "webhook_create" which allows user to create a webhook with a name of
# "my_sample_webhook".
resource_uid: "webhook:my_sample_webhook"
permission_types:
- "webhook_create"
-
# Here we grant "action_execute" to "dummy_pack_2" which means user can execute (run)
# all the actions inside this pack. Execute permission also grants "execution_re_run"
Expand Down

0 comments on commit e83ba9e

Please sign in to comment.