Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Each user should access a page to edit their info: alias, email, password. #526

Closed
mattab opened this issue Jan 29, 2009 · 9 comments
Closed
Assignees
Labels
Critical Indicates the severity of an issue is very critical and the issue has a very high priority. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Jan 29, 2009

Users can’t edit their profile information. Currently users can only request a new password by clicking on “forgot password” link.

We should expose to all users the UI to edit their data:
- for normal user & admin user, can edit alias/password/email
- super user can edit its login, password, email (which updates the configuration file)
- (feature already available) super user can edit info of all users: alias, password, email.
- all editing of the profile is under a tab “My Profile” in the admin section

Therefore:
- the “Settings” link in top bar should always be shown
- for user with ‘view’, only show the “My Profile” tab
- for user with ‘admin’, show by default the “Websites” tab
- for super user, show by default the “Plugins” tab
(see redirectToIndex() in Piwik_CoreAdminHome_Controller)

This will make it easy for any plugins to add new menu entry in the admin section which will be shown for all users (not only for admin and super user)

@mattab
Copy link
Member Author

mattab commented Nov 17, 2009

Note that it would be a bit complicated to have a setting "Week starts on: Monday/Sunday/Saturday" as it would mean that each user would be accessing different reports (weekly reports would have different value). Reports would have to be processed for weeks starting on Mon and weeks starting on Sun which is a performance overhead.

@mattab
Copy link
Member Author

mattab commented Apr 1, 2010

(In [2036]) * Added General settings page to: enable browser archiving, define today's archive time to live (fixes #1149)

@mattab
Copy link
Member Author

mattab commented Apr 1, 2010

still open as I think

  • super user should be able to change the Username
  • all users should be able to change their password

@mattab
Copy link
Member Author

mattab commented Apr 9, 2010

(In [2069]) Fixes #526

  • Added possibility to change password, for super user and normal users
  • Refactored Login to add a new hook that is meant to init the session (set the cookies). this hook is called when the password is changed.
  • Added general feedback message at top of the admin screens, to let users know that changes have been successful.

@anonymous-matomo-user
Copy link

I think for some admins it would make sense to disallow this function. We are managing the users' passwords in another database. The user has an interface in another application where he can change his password. Doing so, we change it in the piwik database via an api call to keep in sync.

Right now i "prevent" users to change their passwords in piwik by hiding the "password change table row" in plugins/UsersManager/templates/userSettings.tpl with css (display:none)

Since this is just a workaround, I would love to have an option to disable the possibility to change the passwords.

@anonymous-matomo-user
Copy link

Attachment:
permitChangingUserPassword.diff

@anonymous-matomo-user
Copy link

with this patch you can specify whether users can change their password or not.

add in config/config.inc.php:

[General]
; If set to 1, users are permitted to change their password
permit_changing_user_password = 0

@robocoder
Copy link
Contributor

shopmaker: this ticket is closed; your feature request is covered by #1568

@mattab
Copy link
Member Author

mattab commented Nov 16, 2010

why would you want to not allow your users to change their pwd?

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Critical Indicates the severity of an issue is very critical and the issue has a very high priority. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

3 participants