Permission Examples

This directory contains practical examples of different permission configurations for badge collections. Each example demonstrates specific patterns and use cases for controlling collection management.

Contents

Permission System Overview

BitBadges permissions follow a timeline-based system where:

  1. Permanently Permitted Times - Permission is always allowed

  2. Permanently Forbidden Times - Permission is always denied

  3. 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

Last updated