I was wondering if there is a possiblilty to change the permissions of a not logged in user who is just browsing the Frontend of my Website I found this in the Documentation: https://getkirby.com/docs/guide/users/permissions
From my understanding this only comes into affect when a user is acually logged in.
Even the “Visitor” Section would need a user blueprint and then the visitor would still have to login through some kind of form.
I wanted to create a form which then creates a Page in my Backend but since a not loggin in user does not have permissions to create I was wondering about this.
If you want to allow visitors (who are not users) to do something like creating a page, you can use the $kirby->impersonate() method, either with the Kirby almighty user or with an existing user who has the relevant permissions.
On the documentation is says that for $who I can just use the kirby superuser, a username or null to reset the impersination. How come I still get this error though`?
You created a user role, not a user. A blueprint only defines a possible user role. If you want to use a user with that role, you have to create a user with that role first.
Also, there is no create property in the access section…
But the User is also listed in the “accounts” folder.
In the Kirby Backend I can also see the “Frontend” user when navigating to “http://website.test/panel/users”