Skip to content

Commit d71853a

Browse files
Set-ADOPermission: Exposing -Plan and -Dashboard (Fixing #138)
1 parent 4f30f1b commit d71853a

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Set-ADOPermission.ps1

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,17 @@
102102
[switch]
103103
$ManageTFVC,
104104

105+
# If set, will get permissions for Delivery Plans.
106+
[Parameter(Mandatory,ValueFromPipelineByPropertyName,ParameterSetName='Plan')]
107+
[switch]
108+
$Plan,
109+
110+
# If set, will get dashboard permissions related to the current project.
111+
[Parameter(Mandatory,ValueFromPipelineByPropertyName,ParameterSetName='Dashboard')]
112+
[Alias('Dashboards')]
113+
[switch]
114+
$Dashboard,
115+
105116
# If set, will list the type of permisssions.
106117
[Parameter(ParameterSetName='securitynamespaces')]
107118
[Alias('SecurityNamespace', 'ListPermissionType','ListSecurityNamespace')]

0 commit comments

Comments
 (0)