Permission Examples
This directory contains practical examples of different permission configurations for collections. Each example demonstrates specific patterns and use cases for controlling collection management.
Contents
Freezing Mint Transferability - Permanently freeze minting capabilities
Locking Specific Approval ID - Lock specific approval IDs with granular control
Locking Specific Token IDs - Lock approvals for specific token ID ranges
Locking Valid Token IDs - Control valid token ID range updates
Permission System Overview
BitBadges permissions follow a timeline-based system where:
Permanently Permitted Times - Permission is always allowed
Permanently Forbidden Times - Permission is always denied
Default (Empty) - Permission is soft-enabled (manager can change)
Common Patterns
No Manager - Set manager to empty string to disable all management
Complete Control - Empty permission arrays for full soft-enabled control
Locked Forever - Use
permanentlyForbiddenTimes: FullTimeRanges
Time-Limited - Use specific time ranges for temporary control
Related Concepts
Last updated