Skip to content

Commit

Permalink
Enable users to create invitations
Browse files Browse the repository at this point in the history
Invitations are now properly validated (#129) to disallow privilege escalation.
  • Loading branch information
bastjan authored Mar 29, 2023
1 parent 26c4f8a commit 026a8fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/user-rbac/basic-user-role.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ rules:
- apiGroups: ["user.appuio.io"]
resources: ["invitations"]
verbs: ["get", "watch", "list"]
- apiGroups: ["rbac.appuio.io", "user.appuio.io"]
resources: ["invitations"]
verbs: ["create"]
# Allow redeeming invitations
- apiGroups: ["user.appuio.io"]
resources: ["invitationredeemrequests"]
Expand Down

0 comments on commit 026a8fa

Please sign in to comment.