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

Non sys admin cannot select a space if "Create post" permission is the default value #47

Open
marc-farre opened this issue Jun 1, 2023 · 0 comments
Labels

Comments

@marc-farre
Copy link
Contributor

marc-farre commented Jun 1, 2023

Step to reproduce:

  • Space 1: public with a public content
  • Space 2: public with "Moderator" -> "Create post" is "Default Allow"
  • User is moderator of Space 2 (but not system admin)
  • User shares a content from "Space 1": on the field "Select Spaces here..." he cannot select "Space 2"

No, in Space 2, set "Moderator" -> "Create post" to "Allow" (instead of "Default Allow").
The user can select "Space 2"

I think the reason is here: https://github.com/humhub/sharebetween/blob/master/services/ShareService.php#LL154C56-L154C56

@luke- luke- added the bug label Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants