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
state: enabled
title: Mischa
email: mischa@gorinskat.nl
fullname: Mischa
hashed_password: $2y$10$koiWKjhhipph4uTbm7fWjOj79uwxfE/mYSXGKANrAvUrSqezY3xL2
language: en
access:
admin:
login: true
super: true
site:
login: true
state: enabled
title: Mischa
email: mischa@gorinskat.nl
fullname: Mischa
hashed_password: '$2y$10$dUEYTopGEDouFoAa/Wxw6.vsOA71yr3gSStfDvr10aKm4ih9ObQ7m'
language: en
api:
super: true
access: true
+1 -1
View File
@@ -1 +1 @@
salt: lsUHWFkCwvGZrL
{ }
+2 -2
View File
@@ -31,7 +31,7 @@ home:
alias: /trips/japan-korea-2026/dailies
hide_in_urls: false
pages:
type: regular
type: flex
dirs:
- 'page://'
theme: intotheeast
@@ -221,7 +221,7 @@ http:
verify_peer: true
verify_host: true
accounts:
type: regular
type: flex
storage: file
avatar: gravatar
flex: