sylvainjule / kirby-bouncer

Restrict access of a user role to a specific page (and its children) in the panel.
MIT License
61 stars 6 forks source link

add comment to config snippet #15

Closed bnomei closed 1 year ago

bnomei commented 2 years ago

i copied the snippet but decided to change the blueprint name and forgot about the config value since everything else seemed to work. a small comment (not just the information in the sentence above the snippet) could help spot this mistake later on.

return [
    'sylvainjule.bouncer.list' => [
        'test' => [ // match the filename without extension of the user blueprint
            'fieldname' => 'canaccess'
        ]
    ]
];
sylvainjule commented 1 year ago

Added, thanks! ✓