Table of Contents

Method CanEdit

Namespace
ReportWright.AspNetCore
Assembly
ReportWright.AspNetCore.dll

CanEdit(ClaimsPrincipal?, string)

Whether the user may save a report and ask design-time questions about its data. Viewing by default.

public virtual bool CanEdit(ClaimsPrincipal? user, string path)

Parameters

user ClaimsPrincipal

The request's user, or null when anonymous.

path string

The report's path.

Returns

bool

True to allow.