feat: add role-based access control for admin panel authentication

This commit is contained in:
Buğra
2025-07-10 13:02:52 +03:00
parent fc6a9a5bcd
commit 5633ec92a1
2 changed files with 26 additions and 1 deletions
+2
View File
@@ -5,6 +5,8 @@ backend:
accept_roles: # ← the magic line
- admin
- editor
# Explicitly block users without roles
squash_merges: true
media_folder: 'src/assets/images'
public_folder: '/_astro'