-
Notifications
You must be signed in to change notification settings - Fork 19
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
CanCreatePublicContent not checked #206
Comments
@luke- Fixed in core PR humhub/humhub#6836 |
@yurabakhtin Does this checkbox really executes the core toggle action? |
@luke- This checkbox is visible only when content can be stored as public: for space with only private content it is hidden: In the PR humhub/humhub#6836 I have fixed a case when space visibility is updated to Private, but some page with files list was not reloaded yet, so the menu item "Change to Public" is still visible and it was possible update such file to Public, now it is fixed with this way: Was the bug fixed or I miss something? |
@yurabakhtin Hmm, I think you missed something. Set "CreatePublicContent" to "Deny" for regular Space Members Login as "Regular Member". Upload a "File". The context menu is correct, the When click on "Edit". The option is available: |
@luke- Thanks for the additional info. Fixed in PR humhub/humhub#6837. |
@yurabakhtin Can you please check the failing tests? Maybe also some tests would be great here. |
@luke- The tests have been fixed. I don't think we need additional tests because at least this test testCreatePublicContentOnPrivateSpace does it. |
Reproduce:
==> It's still possible to change visibility to public in the File module dialogs
The text was updated successfully, but these errors were encountered: