Class ReportPermissions
- Namespace
- ReportWright.AspNetCore
- Assembly
- ReportWright.AspNetCore.dll
Who may do what with a report. The host implements it; every endpoint asks before acting.
public abstract class ReportPermissions
- Inheritance
-
ReportPermissions
- Derived
- Inherited Members
Constructors
- ReportPermissions()
Initializes the base class.
Methods
- CanEdit(ClaimsPrincipal?, string)
Whether the user may save a report and ask design-time questions about its data. Viewing by default.
- CanExport(ClaimsPrincipal?, string)
Whether the user may export a report. Viewing by default.
- CanView(ClaimsPrincipal?, string)
Whether the user may run and view a report.