-
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
Page content inaccessible for members without editing permissions #1027
Comments
Dear @louischance, thanks for your report. Unfortunately I'm unable to reproduce your issue so far. In order to better understand what happens on your side, we need some further information. Could you please do the following:
Also, please do the following:
Please capture a log of your network requests to help with debugging. You can do so the following way:
Please note that the HAR file might contain personal data. It contains all network requests that your browser did in the open tab, i.e. URLs, page metadata and page content. |
Hi @mejo- , I did as you said and checked in the console, indeed there's a 500 error that prevents the md files from being rendered (error "Strict Cookie has not been found in request"). I'm sharing the HAR file with you I created after having visited several pages in the collectives while being logged as a user with no editing rights. I can't upload the HAR file in Github, here's a link to download it : Thanks for your help. |
it happened to me before #919 |
Have you found a way to fix the issue on your side @punkyard |
ha ha yes! It was actually all the share settings that had to be moved. One user created the Collective and shared it with his group but didn't allow users to re-share in the Collective settings. |
So basically you were not part of that group is that what you mean ? But if I don't set the editing rights to everyone within the group, nobody can see the content but me. I also noticed yesterday that by renaming the collective, it created a bug and some pages from the collectives can't be accessed by other users from the group anymore (even if they have the editing rights). Maybe it's just bad luck, but it seems like there are still too many bugs to use the app. I spent hours trying to make it work. In the end, I came back to the old folders+files way. |
Thanks a lot for your detailed answer and the screenshots. However I think I'm doing it exactly as in your example:
I've given it a few trials since november, just did again last week. I managed to have the users see the content only when they were allowed to edit it too (without being promoted to admin/mod). But then I noticed a typo I had done in the collective title and simply renamed it, and it screwed it all. I could still see the pages contents but not the others (some pages became empty for them). It wasn't a drama as I was testing with a dummy group to check it would be working first. So no user noticed it. But I can't risk such errors as I use it for work related projects. I found it nice and handy to have such a feature directly within Nextcloud, but I might have to use third-party tools like Appflowy or Anytype (wanna stick to open source solutions). |
yes, those two are great apps! If you have also checked the Share preferences in the NC admin panel, I think you've tried it all .. |
I just tried and set it as in your screen shot (The third toggle was off initially in my settings). But no luck, the collective pages contents remains invisible for members if I don't authorize everyone to edit it. Thanks for your help, I'm just giving up on it, already spent countless hours trying to make it work. I might give it another go on a new install, see if that works (apparently it supposed to since you're able to use it correctly !) |
have you tried the AiO version of NC? I almost gave up on using NC after one year of tests, when I found this composed version I still get crazy amounts of logs -from the apps but not only- but at least it runs!! and the guy how manages it is really reactive and open to discussion I guess the better the NC the lowest amount of apps ^^ bonne chance ! et bon courage avec tout ça ! |
I read about it but haven't really understood what it is nor how it works yet, but I'll have a look! Merci pour ton aide ! |
To those who still encounter this issue: could you please try again to make sure that it is still reproducible to you and then send me the output of |
Hi, However I'm sorry but I'm not too sure where and how to run this command, my instance is hosted somewhere, I didn't find where to use the terminal in the client panel... |
Dear @louischance, you could also go to 'Settings -> Admin -> Sharing' and send a screenshot of the "Sharing" settings there (first section). I don't need the other sections (Federation, etc) below. |
Hi @mejo- , thanks for your reply, here's the screenshot, I hope it helps (I remember playing with the settings a while back but no luck). |
Thanks @louischance. So far I'm unable to reproduce the issue with similar sharing settings. Which versions of Collectives and Nextcloud server to you run? |
To everyone suffering from this bug ( 👀 @louischance): could you please try to reproduce it once more with the latest release of Collectives (2.11.0)? Background: when implementing support for password-protected shares, I made some changes to the public page controller that might have an influence here. So maybe we're lucky and it finally solves this bug (that I'm still unable to reproduce) 🤞 |
Hi @mejo- thanks for the follow-up. I just tried again but I still can't see the content if using an account with no editing right. I'm running collective 2.11.0 with Nextcloud 28.0.5. |
Hi, I was sent this issue by @mejo- |
@louischance and all others that suffer from this bug, do you have |
@louischance do you still see a request with error code 500? If so, could you again record a HAR and send it to me? The link you provided above seems to be no longer valid. |
@mejo- Sorry for the late reply, I just tried and I still have the issue (not admin members being unable to correctly see the collective pages content). The nextcloud instance I used is hosted by Webo hosting and they encrypt the data, I don't know if that could be a reason for this issue ... I inspected the network events upon loading a page while connected with a non admin account, and the .md files of the page generates a 500 error. Here's the .har file : https://cloud.ikacode.com/index.php/s/sjGrDFPC6xzmGG3 If you'd like to test by yourself, I can create you two accounts on my instance (one with admin rights, one without). Regards |
This comment was marked as off-topic.
This comment was marked as off-topic.
@louischance, could you test whether the following patch fixes the issue for you? https://patch-diff.githubusercontent.com/raw/nextcloud/collectives/pull/1548.patch |
@mejo- thanks, just to be sure, I just need to copy the patch file into the collectives folder right ? |
@louischance you have to apply the patch, using |
Great, I'll wait then ! I had uninstalled the app since last time, I'll take some time this week to reinstall and test it, thanks for your help ! |
I have hope that this issue finally got fixed with #1548. Let's close it for now. But anybody who still experiences the bug after upgrading to Collectives 2.15.0 (just published), please comment, then I'll reopen. |
Hi @mejo- , I recorded a 1min video, that's probably more helpful than rewriting a long text : I'd be interested to know if others are facing the same issue, and understand why, but no pressure to fix that ! |
Thanks for checking @louischance, even though I'm sorry it's still not fixed. Your video was very helpful! So it's not about public shares, but about members of the collective that cannot access the page content if they're not admins. What is even more weird, is that the client member can access the content of the landing page (the "Welcome to your collective" page". Could you one more time reproduce the issue as client member (load the page that doesn't show the content) with the browsers developer console open and share a screenshot? I would expect an error to be logged to the console. |
Seems like I missed this earlier. Does this mean that the encryption app is enabled for external storage? Do you have further details on how Webo hosting encrypts the data? |
description
When creating a collective and sharing it with other users, if the editing rights are not shared with them, they can't see properly the content of the collective pages (but they can still access it and navigate the pages, which are empty).
Steps to reproduce the behavior
Expected behavior
Screenshots
These are 2 collective pages seen from the collective admin account:
Same 2 pages but from a user account (with no editing rights) :
Second page again from the dummy user account but after having changed the editing rights from administrators only to everybody:
The settings to limit the edition to administrators only (French version):
Server details:
Client details:
The text was updated successfully, but these errors were encountered: