Skip to content

Commit

Permalink
Show the Configure Events page for non org admin users (Stage) (#423)
Browse files Browse the repository at this point in the history
* allow users with write role to view configureEvents page

* fix integration permissions name

* remove isOrgAdmin from loosePermissions
  • Loading branch information
CodyWMitchell authored Mar 13, 2024
1 parent 5459b1c commit d1ceba1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion static/beta/stage/navigation/settings-navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@
"href": "/settings/notifications/configure-events",
"permissions": [
{
"method": "isOrgAdmin"
"method": "loosePermissions",
"args": [
"integrations:*:*",
"integrations:endpoints:write"
]
}
]
},
Expand Down
6 changes: 5 additions & 1 deletion static/stable/stage/navigation/settings-navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@
"href": "/settings/notifications/configure-events",
"permissions": [
{
"method": "isOrgAdmin"
"method": "loosePermissions",
"args": [
"integrations:*:*",
"integrations:endpoints:write"
]
}
]
},
Expand Down

0 comments on commit d1ceba1

Please sign in to comment.