Skip to main content

Class: ACLRecordMongo

Defined in: service-core/src/security/AccessControlListMongo.ts:22

Implementation of the ACLRecord interface for use with MongoDB databases.

Implements

Constructors

Constructor

new ACLRecordMongo(other?): ACLRecordMongo

Defined in: service-core/src/security/AccessControlListMongo.ts:35

Parameters

other?

any

Returns

ACLRecordMongo

Properties

actions

actions: string[]

Defined in: service-core/src/security/AccessControlListMongo.ts:33

The list of actions this user or role is granted for the entity. ACLAction.FULL ("*") grants everything.

Implementation of

ACLRecord.actions


userOrRoleId

userOrRoleId: string

Defined in: service-core/src/security/AccessControlListMongo.ts:28

The unique identifier of the user or role that the record belongs to.

Implementation of

ACLRecord.userOrRoleId