Skip to content

Commit

Permalink
Merge pull request #34 from appuio/fix/update-not-edit
Browse files Browse the repository at this point in the history
Switch user roles from imaginary `edit` to actual `update` verb
  • Loading branch information
glrf authored Feb 9, 2022
2 parents 9d29950 + 1749051 commit aeba0a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/user-rbac/basic-user-role.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
rules:
- apiGroups: ["organization.appuio.io"]
resources: ["organizations"]
verbs: ["get", "watch", "list", "patch", "edit", "create"]
verbs: ["get", "watch", "list", "patch", "update", "create"]
- apiGroups: ["rbac.appuio.io"]
resources: ["organizations"]
verbs: ["watch", "list", "create"]
Expand Down
6 changes: 3 additions & 3 deletions config/user-rbac/organization-admin-role.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ metadata:
rules:
- apiGroups: ["rbac.appuio.io"]
resources: ["organizations"]
verbs: ["get", "watch", "list", "patch", "edit", "create"]
verbs: ["get", "watch", "list", "patch", "update", "create"]
- apiGroups: ["appuio.io"]
resources: ["organizationmembers"]
verbs: ["get", "watch", "list", "patch", "edit", "create"]
verbs: ["get", "watch", "list", "patch", "update", "create"]
- apiGroups: ["rbac.authorization.k8s.io"]
resources: ["rolebindings"]
verbs: ["get", "watch", "list", "patch", "edit", "create"]
verbs: ["get", "watch", "list", "patch", "update", "create"]

0 comments on commit aeba0a1

Please sign in to comment.