Skip to content

Get form by id should return same fields as list forms #1045

@idormenco

Description

@idormenco

As a NGO admin i need to have the same information in get form by id as in list forms

public required DateTime LastModifiedOn { get; init; }
public string LastModifiedBy { get; init; }
public bool IsFormOwner { get; init; }
public FormAccessModel[] FormAccess { get; init; }

Do not populate this fields if user is Observer
For PSI form LastModifiedBy = "Commit Global"
If Ardalis.Specification does not work for getting LastModifiedBy (AspNetUsers.DisplayName) use EfCore with linq

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions