Skip to content

Commit 47046d5

Browse files
committed
Merged PR 11676: fix: update permission evaluation endpoint to return a collection
fix: update permission evaluation endpoint to return a collection of EntityPermissionModel
2 parents 8c27594 + 94ded61 commit 47046d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Presentation.Web/Identity/IdentityEntityPermissionEvaluationEndpoints.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public override void Map(IEndpointRouteBuilder app)
3636
group.MapGet(string.Empty, this.GetEffectivePermissions)
3737
.WithName("System.GetEffectivePermissions")
3838
.WithDescription("Gets all effective permissions for the current user and the entity type.")
39-
.Produces<EntityPermissionModel>()
39+
.Produces<IEnumerable<EntityPermissionModel>>()
4040
.Produces<ProblemDetails>((int)HttpStatusCode.InternalServerError);
4141
}
4242

0 commit comments

Comments
 (0)