feat: Grav 2.0 compat — flex accounts/pages, api.super permission

- accounts.type: flex (required by admin2 API)
- pages.type: flex (required for admin2 pages API)
- Add access.api.super + api.access to mischa account (admin2 uses api.* permissions, not admin.*)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-19 13:02:25 +02:00
parent 0bb3b3bcce
commit 64b7fcc166
3 changed files with 12 additions and 9 deletions
+9 -6
View File
@@ -1,13 +1,16 @@
login: mischa login: mischa
state: enabled
title: Mischa
email: mischa@gorinskat.nl
fullname: Mischa
hashed_password: $2y$10$koiWKjhhipph4uTbm7fWjOj79uwxfE/mYSXGKANrAvUrSqezY3xL2
language: en
access: access:
admin: admin:
login: true login: true
super: true super: true
site: site:
login: true login: true
state: enabled api:
title: Mischa super: true
email: mischa@gorinskat.nl access: true
fullname: Mischa
hashed_password: '$2y$10$dUEYTopGEDouFoAa/Wxw6.vsOA71yr3gSStfDvr10aKm4ih9ObQ7m'
language: en
+1 -1
View File
@@ -1 +1 @@
salt: lsUHWFkCwvGZrL { }
+2 -2
View File
@@ -31,7 +31,7 @@ home:
alias: /trips/japan-korea-2026/dailies alias: /trips/japan-korea-2026/dailies
hide_in_urls: false hide_in_urls: false
pages: pages:
type: regular type: flex
dirs: dirs:
- 'page://' - 'page://'
theme: intotheeast theme: intotheeast
@@ -221,7 +221,7 @@ http:
verify_peer: true verify_peer: true
verify_host: true verify_host: true
accounts: accounts:
type: regular type: flex
storage: file storage: file
avatar: gravatar avatar: gravatar
flex: flex: