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

Redirecting error & mass messages appear #369

Closed
clash99 opened this issue Jul 10, 2016 · 4 comments
Closed

Redirecting error & mass messages appear #369

clash99 opened this issue Jul 10, 2016 · 4 comments

Comments

@clash99
Copy link
Contributor

clash99 commented Jul 10, 2016

Redirecting not working if trying to create a new location in a project and you aren't signed in: http://screencast.com/t/z68KhgrcyOrm

If you work around it to get back the site (hit the back button, etc.), then you receive the multiple error message: http://screencast.com/t/GSeXe8eqP

@clash99 clash99 added the bug label Jul 10, 2016
@clash99
Copy link
Contributor Author

clash99 commented Jul 10, 2016

I should add that even though you can navigate through the site seemingly "normal" after the redirect error, the permissions seems totally off. You can't add projects, etc. as expected (which iross as a superuser should be able to do all the time). You have to log out and then sign back in to get the proper permissions to continue as expected. We should ensure when we fix the redirect, that it fixes this too.

@wonderchook wonderchook added this to the Version 0.1 milestone Jul 10, 2016
@oliverroick oliverroick self-assigned this Jul 11, 2016
@ian-ross
Copy link
Contributor

This appears not to be reproducible in a clean VM. Can you try to reproduce it after dropping the database in your VM and reprovisioning? This will ensure that you have the correct OS and Python dependencies, as well as the right database setup. (There's another error that might crop up if it does work, but Oliver may have fixed that already.)

@clash99
Copy link
Contributor Author

clash99 commented Jul 11, 2016

Here it is on staging: http://screencast.com/t/onQeeS1a

Same result on Firefox, Chrome and Safari.

@wonderchook
Copy link
Contributor

I can reproduce it on staging as well (browser doesn't matter I did it with chrome).

Steps:

  1. Go to public project your user isn't a member of (or the org)
  2. Click "add location"
  3. Login
  4. Redirect Error appears
  5. Lots of "You don't have permission to add spatial units to this project" appears

ian-ross added a commit that referenced this issue Jul 12, 2016
Fixes #369 — Fixes permission denied redirects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants