You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com), and this project adheres to [Semantic Versioning](https://semver.org).
4
-
5
-
## [1.0.0] - 27-05-2025
6
-
7
-
This is the first official release of _HelloID-Conn-Prov-Target-SDB-Identity_. This release is based on template version _v2.0.0_.
8
-
9
-
### Added
10
-
11
-
### Changed
12
-
13
-
### Deprecated
14
-
15
-
### Removed
1
+
# Change Log
2
+
3
+
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com), and this project adheres to [Semantic Versioning](https://semver.org).
4
+
5
+
## [1.0.1] - 19-12-2025
6
+
7
+
### Added
8
+
9
+
- Added resource creation (resource.ps1)
10
+
- Added subpermissions (subPermissions.ps1)
11
+
12
+
### Changed
13
+
14
+
### Deprecated
15
+
16
+
### Removed
17
+
18
+
19
+
## [1.0.0] - 27-05-2025
20
+
21
+
This is the first official release of _HelloID-Conn-Prov-Target-SDB-Identity_. This release is based on template version _v2.0.0_.
if (-Not$desiredPermissions.ContainsKey($permission.Name) -AND$permission.Name-ne"No permissions defined") {
158
+
#region Revoke permission
159
+
# API docs: https://identitymanagement.services.iprova.nl/swagger-ui/#!/scim/PatchGroup
160
+
$actionMessage="revoking group [$($permission.Value)] with id [$($permission.Name)] to account with AccountReference: $($actionContext.References.Account|ConvertTo-Json)"
Message="Revoked group [$($permission.Value)] with id [$($permission.Name)] to account with AccountReference: $($actionContext.References.Account|ConvertTo-Json)."
199
+
IsError=$false
200
+
})
201
+
}
202
+
else {
203
+
Write-Warning"DryRun: Would revoke group [$($permission.Value)] with id [$($permission.Name)] to account with AccountReference: $($actionContext.References.Account|ConvertTo-Json)."
if (-Not$currentPermissions.ContainsKey($permission.Name)) {
221
+
#region Grant permission
222
+
# API docs: https://identitymanagement.services.iprova.nl/swagger-ui/#!/scim/PatchGroup
223
+
$actionMessage="granting group [$($permission.Value)] with id [$($permission.Name)] to account with AccountReference: $($actionContext.References.Account|ConvertTo-Json)"
Message="Granted group [$($permission.Value)] with id [$($permission.Name)] to account with AccountReference: $($actionContext.References.Account|ConvertTo-Json)."
262
+
IsError=$false
263
+
})
264
+
}
265
+
else {
266
+
Write-Warning"DryRun: Would grant group [$($permission.Value)] with id [$($permission.Name)] to account with AccountReference: $($actionContext.References.Account|ConvertTo-Json)."
267
+
}
268
+
#endregion Grant permission
269
+
}
270
+
}
271
+
#endregion Compare desired with current permissions and grant permissions
272
+
}
273
+
catch {
274
+
$ex=$PSItem
275
+
if ($($ex.Exception.GetType().FullName -eq'Microsoft.PowerShell.Commands.HttpResponseException') -or
Write-Warning"Skipped granting permissions for account with AccountReference: $($actionContext.References.Account|ConvertTo-Json). Reason: No permissions defined."
303
+
}
304
+
305
+
# Check if auditLogs contains errors, if no errors are found, set success to true
306
+
if (-NOT($outputContext.AuditLogs.IsError-contains$true)) {
0 commit comments