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

Cannot participate in public poll when logged in as guest #921

Closed
simonspa opened this issue May 8, 2020 · 9 comments
Closed

Cannot participate in public poll when logged in as guest #921

simonspa opened this issue May 8, 2020 · 9 comments

Comments

@simonspa
Copy link

simonspa commented May 8, 2020

What is going wrong?

When a user is logged in as guest, they cannot even participate in public polls but are greeted with the following error:

image

To Reproduce
Steps to reproduce the behavior:

  1. Get a guest account on nextcloud.com and log in ;)
  2. Click on the official Deck survey in the last blog post
  3. See error

Expected behavior
Guests should have a higher level of rights than strangers, not a lower. I expect to be able to access and fill the poll despite being logged in as guest and not having full access to the polls app.

(cc) @stefan-niedermann

@stefan-niedermann
Copy link
Member

I don't think that this is related to the polls app...

@simonspa
Copy link
Author

simonspa commented May 8, 2020

Is guest access handled centrally? How would a central instance know what a poll is and whether it has public access rights or not?
I've seen in other apps that they needed to adapt things specifically for the guests app to work properly.

If not, feel free to move.

@stefan-niedermann
Copy link
Member

@jospoortvliet it's the same issue i told you in talk. @simonspa can not participate at the Deck survey as long as he is logged in as a guest (just like me).

@dartcafe
Copy link
Collaborator

dartcafe commented May 8, 2020

I would like to help, but I have no idea about which guest login you are talking. Login on nextcloud.com???? Where? I guess the usage of the polls app is limited to user groups.

@simonspa
Copy link
Author

simonspa commented May 8, 2020

@dartcafe sorry for the confusion, it was just that I noticed this behavior with a guest account on nextcloud .com. So let me rephrase the "how to reproduce":

  • On your NC, install polls and guests apps
  • Create new guest account with access e.g. to a single file
  • Create a public poll
  • Try to access this public poll while being logged in with the guest account

Expected behavior:

see the poll, be able to answer it - because it's public!

Actual behavior:

you get the above error because guests don't have access to the resource "polls".

@dartcafe
Copy link
Collaborator

dartcafe commented May 8, 2020

As far as I see, polls has to get whitelisted in the guests app.

@simonspa
Copy link
Author

simonspa commented May 8, 2020

But wouldn't that mean that guest has full access and can use that app?

@dartcafe
Copy link
Collaborator

dartcafe commented May 8, 2020

But wouldn't that mean that guest has full access and can use that app?

Yes, see #658, #390

@dartcafe dartcafe closed this as completed May 8, 2020
@wiswedel
Copy link

see nextcloud/guests#380

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants