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
I'm not sure if it's a problem of Nextlcloud Server or user_saml app or groupfolders app, but perhaps you could help me to identify that at least. Thanks!
Steps to reproduce
Add user Bob to group group-A in your IDP (In my case: Keycloak)
Login with user Bob to Nextcloud
group-A is now visible for Admins in my-nextcloud.com/index.php/settings/users
Configure 'Group folder' for group-A in my-nextcloud.com/index.php/settings/admin/groupfolders , let's call it group-A-folder
Create new user Alice add them to group group-A in IDP , but do not login with this user yet.
Remove user Bob from group group-A
Logout & login again with user Bob
Group group-A is no longer visible for Admins in my-nextcloud.com/index.php/settings/users , because last active user doesn't belong to it anymore (?)
Check 'Group folders' config (my-nextcloud.com/index.php/settings/admin/groupfolders) group-A-folder is still there, but as group-A is missing - it's assigned to "None" of the groups
Login with user Alice and confirm that user can't see group-A-folder
Expected behaviour
Groups should be preserved even if last active member has left the group.
Actual behaviour
Groups are dropped as soon as last active member doesn't belong to the group anymore, that breaks compatibility with groupfolders app, even though 'External storage' (my-nextcloud.com/index.php/settings/admin/externalstorages) is preserving those groups
Thank you for reply @blizzz ,
Could you please suggest solution for situation I described in 'Steps to reproduce' , when user is pre-created but not really used yet ? I don't see how authors of groupfolders can address it, if group is really deleted from everywhere. And I'm even more surprised how 'External storage' kept this information about the groups, even after deletion?
Could you please suggest solution for situation I described in 'Steps to reproduce' , when user is pre-created but not really used yet ?
On the operational side, keep a ghost user inside.
Code-wise, I am tending towards a config flag to keep empty groups and check that setting before deleting them. Perhaps it would be sufficient to have this configurable via CLI only.
And I'm even more surprised how 'External storage' kept this information about the groups, even after deletion?
Yes, that could be an bug report in the server repository.
Hi,
I'm not sure if it's a problem of Nextlcloud Server or
user_saml
app orgroupfolders
app, but perhaps you could help me to identify that at least. Thanks!Steps to reproduce
Bob
to groupgroup-A
in your IDP (In my case: Keycloak)Bob
to Nextcloudgroup-A
is now visible for Admins in my-nextcloud.com/index.php/settings/usersgroup-A
in my-nextcloud.com/index.php/settings/admin/groupfolders , let's call itgroup-A-folder
Alice
add them to groupgroup-A
in IDP , but do not login with this user yet.Bob
from groupgroup-A
Bob
group-A
is no longer visible for Admins in my-nextcloud.com/index.php/settings/users , because last active user doesn't belong to it anymore (?)group-A-folder
is still there, but asgroup-A
is missing - it's assigned to "None" of the groupsAlice
and confirm that user can't seegroup-A-folder
Expected behaviour
Groups should be preserved even if last active member has left the group.
Actual behaviour
Groups are dropped as soon as last active member doesn't belong to the group anymore, that breaks compatibility with
groupfolders
app, even though 'External storage' (my-nextcloud.com/index.php/settings/admin/externalstorages) is preserving those groupsServer configuration
Operating system:
Ubuntu 22.04.2 LTS
Web server:
Apache
Database:
Mariadb
PHP version:
8.1
Nextcloud version:
28.0.4
List of activated apps:
The text was updated successfully, but these errors were encountered: