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

Allow global and per user setting to disable password changes #1834

Open
jmalenaatxactly opened this issue Dec 9, 2024 · 0 comments
Open
Labels
suggestion Feature suggestion

Comments

@jmalenaatxactly
Copy link

Is your feature request related to a problem? Please describe.

Would like to disable the ability for all users, or specific users to not be able to modify their passwords. There may be circumstances where an account is shared and one person changes the password, while the other person who shares the same account does not have the updated password and now they don't have access anymore.

Describe the solution you'd like

Under the user section, there could be a setting like so:

{
  "users": {
    "allow_password_change": false
  }
}

Or if you want to do it at a user level, it can be defined as such:

{
  "users": [
    {
      "username": "exampleuser1",
      "allow_password_change": false
    },
    {
      "username": "exampleuser2",
      "allow_password_change": false
    }
  ]
}

Unless defined, the default is true. The global setting sets all accounts to false, while the user specific setting disables password changes to only those accounts specified, all other accounts are set to true.

Describe alternatives you've considered

Disabling access to the WebUI, but I want users to be able to access the WebUI, but not have the ability to change passwords.

What are you using SFTPGo for?

Medium business

Additional context

None.

@jmalenaatxactly jmalenaatxactly added the suggestion Feature suggestion label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion Feature suggestion
Projects
None yet
Development

No branches or pull requests

1 participant