Group members are not able to view/access collective
Describe the bug A local NC group filled with a few accounts is added to a collective. After 1h, the members of the group are still not seeing the collective. Adding a single member from the group works within a few minutes.
To Reproduce Steps to reproduce the behavior:
- Create a new collective
- Add "group1" to the member list
- Wait 1h
- Login as user of group1, the collective does not show up
- Add user1 (which is a member of group1) directly to the collective
- wait a few minutes
- observe the collective showing up for user1
Expected behavior Adding a group to a collective should automatically grant the selected permissions to each group member, adding / removing them as the group membership changes.
Screenshots If applicable, add screenshots to help explain your problem.
Server details:
- Collectives app version: 2.16.1
- Nextcloud version: 30.0.5
- PHP Version: 8.2
- Database: MySQL 8
Client details:
- OS: CentOS
- Browser: Safari
- Browser version:
- Device: MacBook
Logs
Nextcloud log (data/nextcloud.log)
Insert your Nextcloud log here
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
Same with imported LDAP groups.
Same with imported LDAP groups.
See #1598
Same with imported LDAP groups.
See #1598
Nope, not the same problem. Circles is deprecated in NC v30, we have the new App Teams installed. I can add the LDAP group to the collectives without any problem and have no error message in logs.
It's "only" and exact on point the problem as described in this issue here.
Nope, not the same problem. Circles is deprecated in NC v30, we have the new App Teams installed. I can add the LDAP group to the collectives without any problem and have no error message in logs.
It's "only" and exact on point the problem as described in this issue here.
Got it, thanks for the clarification.
So I assume group members in general are not processed correctly when granting the permission to a collective.
Same here not using LDAP. Fresh installed Nextcloud 31.0.2.1 Collectives 2.16.1 Teams 31.0.0 Mariadb and Fpm+Nginx, php8.4
A few related symptoms of the same issue, maybe:
- the fact that in the first line at the top of the Collective page, displaying members of the collective, will only list regular members and name of the groups, and not the names of the group members (at least for LDAP groups, AFAICS)
- a similar issue lies in the "team overview" page (apps/contacts/circle/...) in the Teams app, which only lists groups and not members of these groups.
Hth,
Same with NC 30.0.11 and Teams 30.0.0
Dear all, could you please run the following occ commands to see whether this solves the problems for you:
occ circles:sync
occ circles:memberships --all
Thx @mejo-. About these commands:
occ circles:sync occ circles:memberships --all
in principle, should they be running somehow in the background, normally, or a similar sync mechanism, i.e. what's their purpose, and why do you think this should help ?
Btw, what kind of diagnosis should we get when running these ? The second one seems only to display suff on the console, right ?
Thanks in advance.
Both commands make sure that the representation of users and user groups in circles gets refreshed. In the past they sometimes fixed issues with missing members from LDAP groups, so I had hope that it fixes your problem as well.
Closing due to lack of information.
@mejo- Thank you for the reminder, I did those tasks and forgot to report in here...
Both commands successfully synced the membership of some LDAP members into the circles. I will keep on running them once a week for the next couple of months to see, if any more "updated" accounts appear. So far, it was stable.