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
When a user, who already logged in via OIDC once, gets added to a group, the user does not get access to shares granted to these groups.
Steps to reproduce
Set up a nextcloud instance (tested with 28.0.3 using Docker) with this app.
Configure your identity provider. Make sure to enable group provisioning and adjust the groups claim name if necessary.
At your IDP, create two users Alice and Bob. Alice should be a member of "testgroup", Bob not.
Sign in to the Nextcloud both using Alice and Bob one after the other. (We have to sign in as Alice so the "testgroup" will be created in our Nextcloud. We have to sign in as Bob because the bug only occurs if a user already exists before assigning the group membership.)
As Alice, create a folder and share it with the group "testgroup".
At your IDP, add Bob to the "testgroup" group.
Sign in as Bob to the Nextcloud. Bob won't be able to see the folder although he's a member of "testgroup" (membership can be confirmed by visiting /settings/user).
As an administrator, remove and re-add Bob from/to "testgroup"
Sign in as Bob again. Now, Bob is able to see the folder shared by Alice.
Expected behavior
Bob should be able to see the folder in step 7.
Additional context
This bug seems to be caused by some changes in Nextcloud 28. Performing the steps from above using Nextcloud 27.0.0, the behavior is as expected. Other OIDC apps also seem to be affected (e. g. pulsejet/nextcloud-oidc-login#256).
The text was updated successfully, but these errors were encountered:
Same issue appeared to me as well and I created the issue above in Nextcloud server (nextcloud/server#47712) with some more details on the actual bug.
TL;DR: users are granted access to the shares, but they have to accept them manually by visiting the pending shares (https://nextcloud.example.com/apps/files/pendingshares), even though automatic acceptance is configured (as it is by default).
When a user, who already logged in via OIDC once, gets added to a group, the user does not get access to shares granted to these groups.
Steps to reproduce
/settings/user
).Expected behavior
Bob should be able to see the folder in step 7.
Additional context
This bug seems to be caused by some changes in Nextcloud 28. Performing the steps from above using Nextcloud 27.0.0, the behavior is as expected. Other OIDC apps also seem to be affected (e. g. pulsejet/nextcloud-oidc-login#256).
The text was updated successfully, but these errors were encountered: