Skip to content

Commit

Permalink
Make organisations that are permitted to fetch instances via policy f…
Browse files Browse the repository at this point in the history
…iles behave like app owners
  • Loading branch information
mikaelrss committed Nov 29, 2024
1 parent dabcee7 commit 398ba13
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/Storage/Controllers/InstancesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,9 @@ public async Task<ActionResult<QueryResponse<Instance>>> GetInstances(InstanceQu
{
return Forbid();
}
}
else
{
appOwnerRequestingInstances = true;
}
}

appOwnerRequestingInstances = true;
}
else if (userId != null)
{
Expand Down

0 comments on commit 398ba13

Please sign in to comment.