fix: prevent unlicensed user from accessing /security#1694
fix: prevent unlicensed user from accessing /security#1694JosephGKDean wants to merge 1 commit intodocmost:mainfrom
Conversation
WalkthroughThe Security page's top-level guard condition is updated to require both admin privileges and a valid license key. Previously, only admin status was verified. The guard now blocks rendering when either condition fails. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit