Hello,
Is it possible to disable login for non-superusers/admins?
I want to prevent basic users (viewers) to log in to Matomo server while still allowing them to access their widgetized dashboards.
Also, is it possible to disable all emailing to those users (i.e. email/password update…)?
Thanks for your help.
For disabling login to non superusers/admins, this could potentially be achieved following this solution: Login plugin - block all IPs except one.
Unfortunately this disables access to Widgetized Dashboards for all non whitelisted IPs.
In order to allow access to Widgetized Dashboards for non whitelisted IPs the some code had to be updated (see pull request in Matomo Github repository).
Here below is to disable update emails sent to users.
From file config/global.ini.php:
; set to 0 to disable sending of emails when a password or email is changed
enable_update_users_email = 1
So set enable_update_users_email
to 0 while keeping emails_enabled
equal to 1 for emails to continue to be sent to superuser.
1 Like