Method CanView
- Namespace
- ReportWright.AspNetCore
- Assembly
- ReportWright.AspNetCore.dll
CanView(ClaimsPrincipal?, string)
Whether the user may run and view a report.
public abstract bool CanView(ClaimsPrincipal? user, string path)
Parameters
userClaimsPrincipalThe request's user, or null when anonymous.
pathstringThe report's path.
Returns
- bool
True to allow.