opengist icon indicating copy to clipboard operation
opengist copied to clipboard

feat: add option to disable user settings for changing username or email

Open johannes-kirchner opened this issue 10 months ago • 1 comments

In an organization it's useful to not allow users to change their username or email.

johannes-kirchner avatar May 02 '25 08:05 johannes-kirchner

Would be great and safer to also disable the routes.

https://github.com/thomiceli/opengist/blob/897dc43790e1e02128af223b2846e6fd297a0390/internal/web/handlers/settings/account.go#L18 https://github.com/thomiceli/opengist/blob/897dc43790e1e02128af223b2846e6fd297a0390/internal/web/handlers/settings/account.go#L51

Also if there is no email in the first place should we let the users define one ?

thomiceli avatar May 09 '25 17:05 thomiceli