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

Group admin cannot create new users #29063

Closed
bpgitkr opened this issue Oct 4, 2021 · 4 comments · Fixed by #29968
Closed

Group admin cannot create new users #29063

bpgitkr opened this issue Oct 4, 2021 · 4 comments · Fixed by #29968
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@bpgitkr
Copy link

bpgitkr commented Oct 4, 2021

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Open user list (as group admin)
  2. Click new user
  3. Additional form field without caption and with red border appears between e-mail field and group field:

2021-10-04 13_20_37-Window

  1. User cannot be saved

Expected behaviour

Field should not be displayed. Group admin should be able to create new user.
(Note: The global admin account ncadmin does not have this behavior. Only group admins do.)

Actual behaviour

User cannot be created.

Server configuration

Operating system/Web server/Database/PHP version: Official Docker image (https://hub.docker.com/_/nextcloud)

Nextcloud version: 22.2.0

Updated from an older Nextcloud/ownCloud or fresh install: Older version, last update was from 22.1.0 to 22.2.0

Where did you install Nextcloud from: Docker

Signing status:

Signing status No errors have been found.

Nextcloud configuration:

Config report { "system": { "htaccess.RewriteBase": "\/", "memcache.local": "\\OC\\Memcache\\APCu", "apps_paths": [ { "path": "\/var\/www\/html\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/www\/html\/custom_apps", "url": "\/custom_apps", "writable": true } ], "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "***REMOVED SENSITIVE VALUE***:8080", "***REMOVED SENSITIVE VALUE***", "***REMOVED SENSITIVE VALUE***:8080" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "sqlite3", "version": "22.2.0.2", "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***", "installed": true, "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpauthtype": "LOGIN", "mail_smtpauth": 1, "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "587", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "mail_smtpsecure": "tls", "default_language": "de_DE", "default_locale": "de_DE", "defaultapp": "files", "overwriteprotocol": "https", "simpleSignUpLink.shown": "false", "loglevel": 2, "maintenance": false } }

Are you using external storage, if yes which one: None

Are you using encryption: No

Are you using an external user-backend, if yes which one: No

Client configuration

Browser: Chrome. happens with every browser

Operating system: Windows Server 2019, happens with every OS

Logs

NextCloud error log

No error visible in the Log in the admin GUI.

@bpgitkr bpgitkr added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Oct 4, 2021
@jasond2020
Copy link

jasond2020 commented Oct 7, 2021

Edit: The Problem with the admin-account was another one - but the problem with the group-admins still exists. So the initial issue in this tracker can be reproduced by me. Still, the users get created dispite of the errors shown.

Actually the problem is also with the admin-group-accounts: Everytime a User is created the Instance states that there is an error.
BUT - the Users get created; in my case with only Username and Displayname but without Groups or GroupAdmin-Groups. These can be configured after refreshing the page.

(NC 22.2.0, Ubunutu 20.04.3, official nc-docker-container (so php 8), mysql 8.0)

@bbx-github
Copy link
Contributor

I can confirm partly. As groupadmin it is not possible to add a user, without applying a group. If a group is applied the red framed field (in the picture above) gets filled with [object Object] (what is weird ux) and the user gets created.

  • this field should be invisible
  • if user is only groupadmin for one group the add user to group field should be pre-filled (and maybe invisible as well)

nc22.2.0

nc22 2 0-weird-field-for-groupadmin-account-creation

@bbx-github
Copy link
Contributor

Possible duplicate: #28992

@bbx-github
Copy link
Contributor

Maybe related to second part of: #24749

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants