microsoft / ReportingServicesTools

Reporting Services Powershell Tools
MIT License
458 stars 213 forks source link

Set Inherit Parent Policy to false #368

Closed 8rett closed 2 years ago

8rett commented 2 years ago

Without setting this property to false, this function will not work on objects that have 'InheritParentPolicy' set to true. It sets to false when granting permissions (in Grant RsRestItemAccessPolicy), but does not set to false in this one. In any case, when changing permissions, granting or revoking, the inheritence should be set to false as per the behaviour of the PBIRS app.

Fixes # .

Changes proposed in this pull request:

How to test this code:

Has been tested on (remove any that don't apply):