Closed TafkaMax closed 9 months ago
Not sure what you mean. The fix for #72 already uses auth_ismanager() which will check for manager permissions.
Not sure what you mean. The fix for #72 already uses auth_ismanager() which will check for manager permissions.
Ah sorry. I tested it with a user who I thought didn't have manager permissions, but the user actually had manager permissions via a group. My bad. Sorry for wasting your time!
Thank you for fixing the
img.php
to check if user is authenticated. (https://github.com/splitbrain/dokuwiki-plugin-statistics/issues/72)I have a new request, for the plugin to honor the role of the authenticated user.
E.g. Only users who have
manager
oradmin
role should be able to see the graphs.I have tested it and users who have normal
user
role can also still view the graphs.