| IContext |
|
| TActionsList |
|
The "light" array of actions (and optional possession) that we can assign to Internally all actions will inherit by default:
Example: Also see |
|
| TAttributes |
|
Eg |
|
| TGrants |
|
The "full" object we can assign to Note: actions optionally accept possession "any" or "own" after the colon. Internally all actions missing the possession part, will inherit the possession of Also see |
|
| Tid |
|
An Id in your system, can be either |
|
| TisOwner |
|
The interface of the Should return |
|
| TlimitOwned |
|
The interface of the See Notes: The Its up to the user what the context is (and how you add and retrieve data from it). For instance, in an ORM scenario (consider TypeORM as an example) it could be your In a collection (eg array) filtering example, it might be just a bunch of filter functions that you accumulate in an array (i.e the |
|
| TlimitOwnReduce |
|
The interface of the See Example 6 for how it is used in practice. |
|
| TlistOwned |
|
The interface of the Should return an array of ids (see Example: |
|
| PermissionDefinition |
|
This is the actual PermissionDefinition implementation, but the docs are in PermissionDefinition_DOCS. Implements the ownership hooks rules. |
|