We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75da60a commit 7a39a9fCopy full SHA for 7a39a9f
examples/reference.yml
@@ -229,6 +229,12 @@ acl:
229
- match: {account: "/^(.+)@test.com$/", name: "${account:1}/*"}
230
actions: []
231
comment: "Emit domain part of account to make it a correct repo name"
232
+ - match: {labels: {"group": "VIP"}}
233
+ actions: ["push"]
234
+ comment: "Users assigned to group 'VIP' is able to push"
235
+ - match: {labels: {"group": "/trainee|dev/"}}
236
+ actions: ["push", "pull"]
237
+ comment: "Users assigned to group 'trainee' and 'dev' is able to push and pull"
238
# Access is denied by default.
239
240
# (optional) Define to query ACL from a MongoDB server.
0 commit comments