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

[Bug]: Configured admin user unable to copy/create a templated user unless 'manage_system' is enabled #1484

Open
2 tasks done
jeffkirkley opened this issue Dec 12, 2023 · 0 comments
Labels
suggestion Feature suggestion

Comments

@jeffkirkley
Copy link

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration issue.
  • This issue is not already reported on Github (I've searched it).

Bug description

Admin user unable to copy/create a templated user unless given granular 'manage_system' permission.

Steps to reproduce

Create a new Admin user under 'Admins'. Provide following permissions only: add_users, edit_users, view_users, view_status. Login as new admin user. Go into 'Users' tab and attempt to copy/create a templated user -- unable to.

Modify permissions of admin user and add 'manage_system'. Admin user can now copy/create a templated user for a new user to have defined permissions/ACLs.

However, by giving the user the permission of 'manage_system', this also allows them to make changes to SFTP, ACME, and SMTP. Desire is not to allow this ability - only want the admin user to have a limited set of user admin capabilities -- NOT be able to also manage the system.

Expected behavior

Expect admin user to be able to copy/create a templated user. NOT be able to also manage the system.

SFTPGo version

2.5.5

Data provider

internal sqlite DB

Installation method

Community Deb package

Configuration

none - default

Relevant log output

No response

What are you using SFTPGo for?

Private user, home usecase (home backup/VPS)

Additional info

No response

@jeffkirkley jeffkirkley added the bug Something isn't working label Dec 12, 2023
@drakkan drakkan added suggestion Feature suggestion and removed bug Something isn't working labels Feb 3, 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

2 participants