Skip to main content

Class: AccessControlListMongo

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

Implementation of the AccessControlList interface for use with MongoDB databases.

Extends

Implements

Constructors

Constructor

new AccessControlListMongo(other?): AccessControlListMongo

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

Parameters

other?

any

Returns

AccessControlListMongo

Overrides

BaseMongoEntity.constructor

Properties

_id?

optional _id?: any

Defined in: service-core/src/models/BaseMongoEntity.ts:24

The internal unique identifier used by MongoDB.

Inherited from

BaseMongoEntity._id


dateCreated

dateCreated: Date

Defined in: service-core/src/models/BaseEntity.ts:35

The date and time that the entity was created.

Inherited from

BaseMongoEntity.dateCreated


dateModified

dateModified: Date

Defined in: service-core/src/models/BaseEntity.ts:43

The date and time that the entity was last modified.

Inherited from

BaseMongoEntity.dateModified


parent?

optional parent?: AccessControlList

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

The parent access control list that this instance inherits permissions from.

Implementation of

AccessControlList.parent


parentUid?

optional parentUid?: string = undefined

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

The universally unique identifier of the parent AccessControlList that this object will inherit permissions from.

Implementation of

AccessControlList.parentUid


records

records: ACLRecordMongo[] = []

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

The list of all permission records associated with this access control list.

Implementation of

AccessControlList.records


uid

uid: string

Defined in: service-core/src/models/BaseEntity.ts:27

The universally unique identifier of the entity.

Implementation of

AccessControlList.uid

Inherited from

BaseMongoEntity.uid


version

version: number = 0

Defined in: service-core/src/models/BaseEntity.ts:50

The optimistic lock version.

Inherited from

BaseMongoEntity.version