Разработчикам / REST API для **BOOCO Meteor (v 1.x) /** Общее API

В этом разделе описываются методы для работы с коллекцией acl.

Endpoints

Параметры URL

Параметры запроса (Queries)

Используемые типы

type ACLActionsWithColumn = 'read:any' | 'read:own' | 'create:any' | 'create:own' | 'update:any' | 'update:own'
| 'delete:any' | 'delete:own' | 'execute:any' | 'execute:own';

type ACLActionsFunc = 'readAny' | 'readOwn' | 'createAny' | 'createOwn' | 'updateAny' | 'updateOwn'
| 'deleteAny' | 'deleteOwn' | 'executeAny' | 'executeOwn';

export type ACLEntry = {
  _id: string,
  role: string,
  resource: string,
  action: ACLActionsWithColumn,
  attributes: [string]
};