Skip to content

Conversation

@rcarpenter79
Copy link

Resolves #35

I found some other problems when I was testing.

Fixed a problem when the folder owner was not System or a built-in group that causes the error "The security identifier is not allowed to be the owner of this object".
Fixed a bug that caused the Test to report empty values for absent rules to remove and rules to be removed.
Fixed a bug in Update-FileSystemRightsMapping that would add an additional phantom ACE when an inherited ACE had a permissions that used the generic permissions.
Fixed a bug in Set-TargetResource caused by $Expected not being initialised.
Fixed a bug where removing rules was causing changes to the remaining rules for that Identity. Switched from using RemoveAccessRule to RemoveAccessRuleSpecific.

Richard Carpenter added 2 commits July 10, 2018 16:21
…will not preserve existing rules.

Removed automatic change of folder inheritance.
Fixed a problem when the folder owner was not System or a built-in group that causes the error "The security identifier is not allowed to be the owner of this object".
Fixed a bug that caused the Test to report empty values for absent rules to remove and rules to be removed.
Fixed a bug in Update-FileSystemRightsMapping that would add an additional phantom ACE when an inherited ACE had a permissions that used the generic permissions.
In Compare-NtfsRule filtered the list of rules to be removed to only include non-inherited ACE rules to stop
…e. All the tests are created with DisableInheritance set so some additional test should be created to test this functionality.

Fixed a bug in Set-TargetResource caused by $Expected not being initialised.
Fixed a bug where removing rules was causing changes to the remaining rules for that Identity. Switched from using RemoveAccessRule to RemoveAccessRuleSpecific.
@codecov-io
Copy link

Codecov Report

Merging #36 into Dev will increase coverage by <1%.
The diff coverage is 91%.

Impacted file tree graph

@@        Coverage Diff         @@
##           Dev   #36    +/-   ##
==================================
+ Coverage   53%   53%   +<1%     
==================================
  Files        5     5            
  Lines      959   965     +6     
==================================
+ Hits       510   517     +7     
+ Misses     449   448     -1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants