matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.92k stars 2.66k forks source link

Feature that allows superusers to accept invitations on behalf of the users that were invited #22695

Open KarthikRaja1388 opened 1 month ago

KarthikRaja1388 commented 1 month ago

Summary

Sometimes contractors work on Matomo implementations who are at the office for only one day per week. When setting up these users the invitations sometimes expire before the users see them, and then I have to set up those users all over again, because apparently the user is also removed once the invitation expires (although there is filter for expired invitations in the "Manage Users" interface).

sgiehl commented 1 month ago

There is a config option called default_invite_user_token_expiry_days, which allows to extend the expiry time. For such a case I think it makes more sense to extend that.

sgiehl commented 3 weeks ago

Note: It is actually already possible to "accept" an invite on someones behalf. For that you simply need to use the feature to copy the invite link and use that link yourself to set a password. The person who should have access can then use the reset password feature to set their own password.