Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -141,22 +141,20 @@ public override async Task AfterRecordingStopAsync(RecordingArgs e, Cancellation
}
else
{
// skip empty roles which are returned in case we couldn't get permissions information
//
// application permissions are always the same because they come from app reg
// so we can just use the first request that has them
if (permissions.Any() && !rolesToEvaluate.Any())
{
rolesToEvaluate = permissions;
}

if (ProxyUtils.IsGraphBatchUrl(uri))
{
applicationEndpoints.AddRange(requestsFromBatch);
}
else
{
applicationEndpoints.Add(methodAndUrl);
}
if (ProxyUtils.IsGraphBatchUrl(uri))
{
applicationEndpoints.AddRange(requestsFromBatch);
}
else
{
applicationEndpoints.Add(methodAndUrl);
}
}
}
Expand Down
Loading