-
Notifications
You must be signed in to change notification settings - Fork 5
/
check-feed-permissions.yml
37 lines (33 loc) · 2.11 KB
/
check-feed-permissions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
steps:
- powershell: |
python ./common/export_feed_info.py --organization 'https://ados.demo.kagarlickij.com/DefaultCollection' --feedName $(projectName) --pat $(onprem_pat)
displayName: 'Export feed-related info'
condition: ne(variables.createArtifactFeed,false)
- powershell: |
python ./common/check_feed_permissions.py --organization 'https://ados.demo.kagarlickij.com/DefaultCollection' --groupName $(administrators-group-name) --groupSid $(administrators-group-sid) --feedId $Env:FEED_ID --role $(administrators-feed-permissions) --pat $(onprem_pat)
displayName: 'Check Feed permissions for $(projectName)-administrators group'
continueOnError: true
condition: ne(variables.createArtifactFeed,false)
env:
FEED_ID: $(feedId)
- powershell: |
python ./common/check_feed_permissions.py --organization 'https://ados.demo.kagarlickij.com/DefaultCollection' --groupName $(developers-group-name) --groupSid $(developers-group-sid) --feedId $Env:FEED_ID --role $(developers-feed-permissions) --pat $(onprem_pat)
displayName: 'Check Feed permissions for $(projectName)-developers group'
continueOnError: true
condition: ne(variables.createArtifactFeed,false)
env:
FEED_ID: $(feedId)
- powershell: |
python ./common/check_feed_permissions.py --organization 'https://ados.demo.kagarlickij.com/DefaultCollection' --groupName $(auditors-group-name) --groupSid $(auditors-group-sid) --feedId $Env:FEED_ID --role $(auditors-feed-permissions) --pat $(onprem_pat)
displayName: 'Check Feed permissions for $(projectName)-auditors group'
continueOnError: true
condition: ne(variables.createArtifactFeed,false)
env:
FEED_ID: $(feedId)
- powershell: |
python ./common/check_feed_permissions.py --organization 'https://ados.demo.kagarlickij.com/DefaultCollection' --groupName $(product-owners-group-name) --groupSid $(product-owners-group-sid) --feedId $Env:FEED_ID --role $(product-owners-feed-permissions) --pat $(onprem_pat)
displayName: 'Check Feed permissions for $(projectName)-product-owners group'
continueOnError: true
condition: ne(variables.createArtifactFeed,false)
env:
FEED_ID: $(feedId)