BadgeIdsActionPermission defines the permissions for updating a timeline-based field for specific badges and specific badge ownership times. Currently, this is only used for creating new badges.

Ex: If you want to lock the ability to create new badges for badgeIds [1,2] at ownershipTimes 1/1/2020 - 1/1/2021, you could set the combination (badgeIds: [1,2], ownershipTimelineTimes: [1/1/2020 - 1/1/2021]) to always be forbidden.

from message badges.BadgeIdsActionPermission

Hierarchy

Constructors

Properties

badgeIds: proto.badges.UintRange[] = []

Specifies the badge IDs involved in the transfer.

from field: repeated badges.UintRange badgeIds = 1;

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

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

from field: repeated badges.UintRange permanentlyForbiddenTimes = 3;

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

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

from field: repeated badges.UintRange permanentlyPermittedTimes = 2;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "badges.BadgeIdsActionPermission" = "badges.BadgeIdsActionPermission"

Methods