Skip to content

DmAction ​

Namespace: MJCZone.DapperMatic.Security

Assembly: MJCZone.DapperMatic

Summary ​

What a policy lets callers do. Written in JSON by name: <c>"Read, Create"</c>.

Inheritance ​

Base Class: Enum

sealed public

Contents ​

Enum Members (14)

Enum Members ​

NameValueDescription
None0Nothing.
Read1Read rows.
Create2Insert rows.
Update3Update rows.
Delete4Delete rows.
ReadSchema5Read definitions: schemas, tables, columns, indexes, constraints, views, data types, datasources.
ChangeSchema6Create, change and drop schemas, tables, columns, indexes, constraints and views.
ManageDatasources7Add, change, remove and test datasources.
ManageAccess8Read and change the policies and tenants kept by DapperMatic.
DefineViews9Write a view's SQL, creating a view or changing its definition (with ChangeSchema on the view). The SQL can read any table the connection can, so this is for callers trusted to read everything in the datasource; a grant confined to some schemas or tables does not cover it.
Execute10Run a function the application declares. Its SQL reads and writes what it likes, so a grant covers it only when it names the function (Functions), or names none and is confined to no schema or table.
Write11Insert, update and delete rows.
ReadWrite12Read and write rows.
All13Everything.