Closed svnt closed 7 years ago
Hello,
it would be nice to have the option to set the role(s) for the widget/plugin in the kirby config instead of the hardcoded solution: https://github.com/texnixe/kirby-logger/search?utf8=✓&q=Admin&type=
In my case only 'auditors' should see it so i had to hack your core code.
best regards, Sven
This is now possible via the logger.rolesoption which accepts an array of options, see readme.
logger.roles
Hello,
it would be nice to have the option to set the role(s) for the widget/plugin in the kirby config instead of the hardcoded solution: https://github.com/texnixe/kirby-logger/search?utf8=✓&q=Admin&type=
In my case only 'auditors' should see it so i had to hack your core code.
best regards, Sven