Options
Menu

Class ModelPermissionsChangedEvent

Emitted when the permissions on a model are modified. See ModelPermissionManager to manage permissions programmatically.

Hierarchy

  • ModelPermissionsChangedEvent

Implements

Index

Properties

changes

changes: string[]

model

The model whose permissions changed

name

name: string = ModelPermissionsChangedEvent.NAME

The name of the event that was fired. This is commonly used to filter when using the ConvergenceEventEmitter.events stream.

Note that the name is only guaranteed to be unique within the class / subsystem that is firing it. Names might be reused across classes and subsystems.

permissions

permissions: ModelPermissions

The permissions that changed

NAME

NAME: "permissions_changed" = "permissions_changed"