Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sharing a collective with the "everyone" group is not working #1202

Closed
M-tp opened this issue Apr 15, 2024 · 5 comments · Fixed by #1267
Closed

Sharing a collective with the "everyone" group is not working #1202

M-tp opened this issue Apr 15, 2024 · 5 comments · Fixed by #1267
Labels
bug Something isn't working needs info

Comments

@M-tp
Copy link

M-tp commented Apr 15, 2024

Sharing a collective with the "everyone" group in Nextcloud is possible, but it is not working. The shared collective does not show on the users' collective tab.

@M-tp M-tp added the bug Something isn't working label Apr 15, 2024
@mejo-
Copy link
Member

mejo- commented May 15, 2024

Dear @M-tp could you elaborate what you mean with the "everyone" group? I guess that's a group that is manually maintained on your instance. To my knowledge there's no such thing as a group covering all users on Nextcloud 🤔

@M-tp
Copy link
Author

M-tp commented May 15, 2024

Hi @mejo- it's a function offered as Nextcloud app: https://apps.nextcloud.com/apps/group_everyone
Since we were able to share the collective with the "everyone" user it seemed like collectives would allow this function. But even though it shows that the collective is shared with "everyone" it does not show the collective for the users as it does in other apps, such as when sharing folders for example. It would be really helpful for us, because this way we could use collectives as a companywide "wiki".
Many thanks for your efforts!

@mejo-
Copy link
Member

mejo- commented May 15, 2024

Ah, I see. So with this app the problem is that the Nextcloud teams/circles app doesn't know about all the users that existed before the app got installed. New users that got created after the app got installed should see the collective, right?

The following command will let the circles app re-sync all groups and their members, which should solve the problem for you. You only have to run it once, as new users will get synced automatically once they're created:

occ circles:sync --groups

Please let me know if this helps, then I can add documentation about it.

mejo- added a commit that referenced this issue May 15, 2024
Fixes: #1202

Signed-off-by: Jonas <jonas@freesources.org>
@bilias
Copy link

bilias commented Jun 25, 2024

occ circles:sync --groups

I also have this problem when a new user comes in (from openid and not local).

Why is this needed? It supposed to do it upon login.
See screenshot

auto_groups

In any case this command does not solve it for me and my external users.
I have to unshare/reshare the folder every time a new user comes in.

@mejo-
Copy link
Member

mejo- commented Jun 25, 2024

I have to unshare/reshare the folder every time a new user comes in.

What do you mean with unshare/reshare? This issue was about adding the everyone group to a collective as member. Do you mean to share a folder? That sounds unrelated to collectives 🤔

The command occ circles:sync --groups needs to be called once after the group_everyone app was installed to register existing users as group members to circles/teams. Afterwards, this should happen automatically when adding a new user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs info
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants