File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/ResourceManager/Resources/Commands.Resources/Models.Authorization Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -476,7 +476,7 @@ public IEnumerable<PSRoleAssignment> RemoveRoleAssignment(FilterRoleAssignmentsO
476
476
// but an edge case can have multiple role assignments to the same role or multiple role assignments to different roles, with same name.
477
477
// The FilterRoleAssignments takes care of paging internally
478
478
IEnumerable < PSRoleAssignment > roleAssignments = FilterRoleAssignments ( options , currentSubscription : subscriptionId )
479
- . Where ( ra => ra . Scope == options . Scope . TrimEnd ( '/' ) ) ;
479
+ . Where ( ra => ra . Scope . Equals ( options . Scope . TrimEnd ( '/' ) , StringComparison . OrdinalIgnoreCase ) ) ;
480
480
481
481
if ( roleAssignments == null || ! roleAssignments . Any ( ) )
482
482
{
You can’t perform that action at this time.
0 commit comments