You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Migrate groups using the user_saml-app
Log in into your nextcloud instance
Create a folder or upload a file and click on 'Share'
Search for one of the migrated groups you want to share the item with
Expected behaviour
The user should be able to find the group by searching for the display name. The group should be found, no matter which database table it is stored in. The search should work for both the groups in the 'oc_groups' (default nextcloud) table and the groups in the 'oc_user_saml_groups' table (user_saml-app).
Actual behaviour
The groups stored in the 'oc_user_saml_groups' database table (user_saml-app) are ignored when trying to share an item by searching for the display name of a group. The problem only lies with the display name. If the exact id of the saml-group is entered, it does show up.
Interestingly, if a group with the exact same id and name is created normally in Nextcloud (and then stored in the 'oc_groups' database table), it does show up when searching via display name.
I'm a bit confused at this point, is it intended, that there is a normal Nextcloud group for each migrated saml-group (one group in each database table) or is this bug with the search function? On one hand, multiple backends are supported but on the other hand, occ is telling me, that a group with that name already exists (creating two groups with the same name and id in different backends worked fine before Nextcloud version 29+).
Workarounds
Manually create groups with the same id and same name via sql query (Nextcloud version 29+). Before Nextcloud version 28, it was possible to create a default nextcloud group with the exact same id and same name in the 'oc_groups' table. Even if a saml-group in the 'oc_user_saml_groups' table already existed with the same id.
Server configuration
Web server: Apache Database: Maria PHP version: 8.2 Nextcloud version: 29.0.7
Browser
Browser name: Firefox Browser version: 132.0.1 Operating system: Fedora Linux
The text was updated successfully, but these errors were encountered:
How to use GitHub
Steps to reproduce
Expected behaviour
The user should be able to find the group by searching for the display name. The group should be found, no matter which database table it is stored in. The search should work for both the groups in the 'oc_groups' (default nextcloud) table and the groups in the 'oc_user_saml_groups' table (user_saml-app).
Actual behaviour
The groups stored in the 'oc_user_saml_groups' database table (user_saml-app) are ignored when trying to share an item by searching for the display name of a group. The problem only lies with the display name. If the exact id of the saml-group is entered, it does show up.
Interestingly, if a group with the exact same id and name is created normally in Nextcloud (and then stored in the 'oc_groups' database table), it does show up when searching via display name.
I'm a bit confused at this point, is it intended, that there is a normal Nextcloud group for each migrated saml-group (one group in each database table) or is this bug with the search function? On one hand, multiple backends are supported but on the other hand, occ is telling me, that a group with that name already exists (creating two groups with the same name and id in different backends worked fine before Nextcloud version 29+).
Workarounds
Manually create groups with the same id and same name via sql query (Nextcloud version 29+). Before Nextcloud version 28, it was possible to create a default nextcloud group with the exact same id and same name in the 'oc_groups' table. Even if a saml-group in the 'oc_user_saml_groups' table already existed with the same id.
Server configuration
Web server: Apache
Database: Maria
PHP version: 8.2
Nextcloud version: 29.0.7
Browser
Browser name: Firefox
Browser version: 132.0.1
Operating system: Fedora Linux
The text was updated successfully, but these errors were encountered: