Skip to content

Commit

Permalink
Merge pull request #43 from appuio/fix/add-teams-to-userroles
Browse files Browse the repository at this point in the history
Add teams CRD to default userroles
  • Loading branch information
glrf authored Mar 8, 2022
2 parents 359884e + f71fccf commit 5088057
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/user-rbac/organization-admin-role.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ rules:
- apiGroups: ["appuio.io"]
resources: ["organizationmembers"]
verbs: ["get", "watch", "list", "patch", "update", "create"]
- apiGroups: ["appuio.io"]
resources: ["teams"]
verbs: ["get", "watch", "list", "patch", "update", "create"]
- apiGroups: ["rbac.authorization.k8s.io"]
resources: ["rolebindings"]
verbs: ["get", "watch", "list", "patch", "update", "create"]
3 changes: 3 additions & 0 deletions config/user-rbac/organization-viewer-role.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ rules:
- apiGroups: ["appuio.io"]
resources: ["organizationmembers"]
verbs: ["get", "watch", "list"]
- apiGroups: ["appuio.io"]
resources: ["teams"]
verbs: ["get", "watch", "list"]
- apiGroups: ["rbac.authorization.k8s.io"]
resources: ["rolebindings"]
verbs: ["get", "watch", "list"]

0 comments on commit 5088057

Please sign in to comment.