feat: add AdminUserRestrictionsPage for individual user overrides
Per-user feature limit overrides: - Select user from dropdown (shows tier) - View all features with tier limits - Set individual overrides that supersede tier limits - Toggle buttons for boolean features - Text inputs for count features - Remove overrides to revert to tier limits Features: - User info card (avatar, name, email, tier) - Feature table grouped by category - Visual indicators for active overrides - Change tracking with fixed bottom save bar - Conditional rendering based on limit type - Info box explaining override priority UX improvements: - Clear "Tier-Limit" vs "Override" columns - Active/Inactive status per feature - Batch save with change counter - Confirmation before removing overrides - Legend for input values Use cases: - Beta testers with extended limits - Support requests for special access - Temporary feature grants - Custom enterprise configurations Integrated in AdminPanel navigation Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
18991025bf
commit
72d8dd8df7
3 files changed
+454
No files matched your search
@@ -428,6 +428,11 @@ export default function AdminPanel() {
|
||||
🎟️ Coupons verwalten
|
||||
</button>
|
||||
</Link>
|
||||
<Link to="/admin/user-restrictions">
|
||||
<button className="btn btn-secondary btn-full">
|
||||
👤 User Feature-Overrides
|
||||
</button>
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user