ActionPermission defines the permissions for performing an action.

This is simple and straightforward as the only thing we need to check is the permitted/forbidden times.

from message maps.ActionPermission

Hierarchy

Constructors

Properties

permanentlyForbiddenTimes: proto.maps.UintRange[] = []

Specifies the times when this permission is forbidden. Can not overlap with permanentlyPermittedTimes.

from field: repeated maps.UintRange permanentlyForbiddenTimes = 2;

permanentlyPermittedTimes: proto.maps.UintRange[] = []

Specifies the times when this permission is permitted. Can not overlap with permanentlyForbiddenTimes.

from field: repeated maps.UintRange permanentlyPermittedTimes = 1;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "maps.ActionPermission" = "maps.ActionPermission"

Methods