Optionaldata: PartialMessage<badges.CollectionPermissions>Permissions related to archiving the collection.
Permissions related to deleting the collection.
Permissions related to updating collection approvals.
Permissions related to updating the metadata of the collection.
Permissions related to updating custom data for the collection.
Permissions related to updating the collection's manager.
Permissions related to updating standards for the collection.
Permissions related to updating token metadata for specific tokens.
Permissions related to creating more tokens for the collection.
Static ReadonlyfieldsStatic ReadonlyruntimeStatic ReadonlytypeStaticequalsStaticfromOptionaloptions: Partial<BinaryReadOptions>StaticfromOptionaloptions: Partial<JsonReadOptions>StaticfromOptionaloptions: Partial<JsonReadOptions>
CollectionPermissions defines the permissions for the collection (i.e., what the manager can and cannot do).
There are five types of permissions for a collection: ActionPermission, TimedUpdatePermission, TimedUpdateWithTokenIdsPermission, TokenIdsActionPermission, and CollectionApprovalPermission.
The permission type allows fine-grained access control for each action.
Note there are a few different times here which could get confusing:
The permitted/permanentlyForbiddenTimes are used to determine when a permission can be executed. Once a time is set to be permitted or forbidden, it is PERMANENT and cannot be changed. If a time is not set to be permitted or forbidden, it is considered NEUTRAL and can be updated but is ALLOWED by default.
IMPORTANT: We take first-match only for the permissions. This means that if you forbid time T in array index 0 and permit time T in index 1, we will only check the first permission (forbid time T) and not the second permission (permit time T).
Generated
from message badges.CollectionPermissions