📋 Permission Manager
About Permission Management
This Permission Manager allows you to control role-based access to your documentation.
Current Mode
Features
- Role Management: Six predefined roles with visual hierarchy
- Visual Editing: Click role icons to grant/revoke access
- Bulk Operations: Apply permissions to entire categories
- Search & Filter: Find specific documentation quickly
Setup Options
Option 1: Local Storage Mode (Current)
- Permissions save to browser storage
- Copy generated config to
/src/config/permissions.js
- Requires manual deployment for changes
Option 2: Cloudflare KV Mode (Recommended)
- Real-time updates across all users
- No deployment needed for permission changes
- Automatic synchronization
- Deploy the worker from
/workers/permissions-api.js
💡 Note: The site will work fine without Cloudflare KV. It will automatically use local storage and static config files as fallback.