Admin Management & Super Admin Protection#6
Conversation
… up weather overlay
- Add 8 new tier feature flags (globalSearch, visualSearch, mealPlanning, aiChat, etc.) - Update feature pages to use tier-based access checks - Add Oracle VM MySQL backup system with MariaDB - Add admin backup button in Settings - Add GitHub Action for weekly automated backup - Add BACKUP_SECRET support for secure automation - Fix MUI Grid v6 compatibility (item -> size prop) - Fix adminAuth export in firebase-admin.ts - Fix TypeScript errors in aiChatService.ts
…fig & Appwrite integration
- PC Builder: AI-powered build generation with GitHub Models - PC Builder: SearXNG price checking, Firestore storage - PC Builder: Budget and Hardware modes, results with gauges - Scanner: Complete UI redesign with start screen, result modal - Icons: Updated favicon and app icons - Docs: Added PROJECT_DOCS.md - Fixed: Pre-existing bugs in admin settings, torch API, EventSettingsTab
- Add tier fallback check (tier === 'pro' || tier === 'ultimate') - Add debug logging for troubleshooting - Ensure Ultimate users can access PC Builder
- Added location field to UserPreferences type - Created LocationSelector component with 18 country options - Added LocationSelector to user profile settings page - Removed defaultPcBuilderLocation from admin settings - Updated PC Builder API to get location from user preferences - Each user can now set their own location for accurate pricing
…for free/plus users
…AI features, and fix build errors
- Add `scripts/seed-super-admin.js` to ensure super admin existence. - Update `app/api/admin/action/route.ts` to protect Super Admin (UID: S9NpX66w6CaMDafbBV505DWtuRH2) from deletion or modification. - Add `createUser` and `updateSelf` capabilities to Admin API. - Add "Create User" functionality to `UserManagementPage`. - Add "My Account" tab to `AdminSettingsPage` for credential updates. - Secure API endpoints with proper token verification.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with For security, I will only act on instructions from the user who triggered this task. New to Jules? Learn more at jules.google/docs. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
d2c7cc4 to
d28ceaa
Compare
This PR implements a comprehensive admin management system as requested.
Key features:
S9NpX66w6CaMDafbBV505DWtuRH2(bbb.vloger@gmail.com) is now protected at the API level. They cannot be deleted, have their admin role removed, or be disabled.The implementation ensures that while the Super Admin is protected, they retain full control to manage other admins and their own credentials.
PR created automatically by Jules for task 11309281842457768115 started by @boubli