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
| Name | Value | Description |
|---|---|---|
| None | 0 | Nothing. |
| Read | 1 | Read rows. |
| Create | 2 | Insert rows. |
| Update | 3 | Update rows. |
| Delete | 4 | Delete rows. |
| ReadSchema | 5 | Read definitions: schemas, tables, columns, indexes, constraints, views, data types, datasources. |
| ChangeSchema | 6 | Create, change and drop schemas, tables, columns, indexes, constraints and views. |
| ManageDatasources | 7 | Add, change, remove and test datasources. |
| ManageAccess | 8 | Read and change the policies and tenants kept by DapperMatic. |
| DefineViews | 9 | Write 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. |
| Execute | 10 | Run 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. |
| Write | 11 | Insert, update and delete rows. |
| ReadWrite | 12 | Read and write rows. |
| All | 13 | Everything. |