Hey there, and thanks in advance to everyone who’s willing to help
I have the plugin “bouncer” installed to grant access only to special sites for viewer and editors. that works.
also i followed the cookbook for file-firewalls: Protecting files | Kirby CMS
and got working, that if i upload any file the file URL is only readable when logged in cause you never get the original file path.
perfect and thanks to @texnixe
this works in my blueprint when:
files:
type: files
template: protected
Now i want ALL file uploads on this pages with this blueprint to be “secured”. how can i get the route template working for parts like:
fields:
bezeichnung:
label: Bezeichnung
type: text
beschreibung:
label: Beschreibung
type: textarea
bild:
label: Bild
type: files
or
type: layout
layouts:
- "1/1"
- "1/2, 1/2"
- "1/4, 1/4, 1/4, 1/4"
- "1/3, 2/3"
- "2/3, 1/3"
- "1/3, 1/3, 1/3"
fieldsets:
- heading
- text
- list
- image
- gallery
- video
- code
- markdown
- button
settings:
fields:
class:
type: text
width: 1/2
id:
type: text
width: 1/2
image:
label: Background image
type: files
fields:
I tried to add “template: protected” again but i does not work.
Perhaps someone can give me a hint…