nextcloud / groupfolders

📁👩‍👩‍👧‍👦 Admin-configured folders shared by everyone in a group. https://github.com/nextcloud-releases/groupfolders
https://apps.nextcloud.com/apps/groupfolders
284 stars 87 forks source link

Select single user for admin's Advance Permission ("user/group can manage this folder") doesn't work #3388

Open s8321414 opened 3 days ago

s8321414 commented 3 days ago

How to use GitHub

Steps to reproduce

  1. Create a group folder
  2. Set groups that can access this group folder
  3. Check "Advance Permission" box and choose single user (non-admin) in dropdown menu

Expected behaviour

Chosen user can manage selected group folder.

Actual behaviour

Chosen user can't manage selected group folder (there are not any group folder admin options in normal group folder UI). But we can set a group that is only for manage this group folder, it works.

Server configuration

Operating system: Rocky Linux 8

Web server: Apache 2.4

Database: SQLite

PHP version: 8.3

Nextcloud version: (see Nextcloud admin page) 30.0.1 (also in older version)

Group folders version: 18.0.3

Updated from an older Nextcloud/ownCloud or fresh install: Fresh install (also tested updated for older Nextcloud)

Where did you install Nextcloud from: Nextcloud website download (also tested on Docker)

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

Are you using encryption: no

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

Client configuration

Browser: Firefox 131.0.3/Google Chrome 130.0.6723.69

Operating system: Arch Linux

provokateurin commented 3 days ago

Is the user you want to select part of the group you added to the Groupfolder? Otherwise it is expected that no user will show up.

s8321414 commented 3 days ago

Is the user you want to select part of the group you added to the Groupfolder? Otherwise it is expected that no user will show up.

Yes, that user is in group selected for group folder so I can select that user in Advance Permission (in admin UI) dropdown menu.

provokateurin commented 3 days ago

So the user is not seeing the ACL settings in the sidebar, right?

s8321414 commented 3 days ago

So the user is not seeing the ACL settings in the sidebar, right?

Yes, ACL settings don't show for selected user.

provokateurin commented 3 days ago

I just tried reproducing it, but for me the sidebar shows up correctly for the assigned user. Can you please check if there are any errors in the nextcloud, webserver and browser logs?

s8321414 commented 3 days ago

Ah, for database it is not correct, should be SQLite not MariaDB, sorry.