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

Can't determine viewability without enable_share #549

Open
perrygeo opened this issue May 3, 2012 · 0 comments
Open

Can't determine viewability without enable_share #549

perrygeo opened this issue May 3, 2012 · 0 comments

Comments

@perrygeo
Copy link
Contributor

perrygeo commented May 3, 2012

The features views rely on a helper function (get_object_for_viewing or _editing) to determine permissions and respond accordingly. If enable_share() has not been run, the permission does not exist and the view errors out.

The desired behavior would be to simply say "No the object isn't shared with you" - whether that goes in the helper function or something else like a permissions fixture is TBD.

@ghost ghost assigned perrygeo May 3, 2012
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

1 participant