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

Check collaborator status #67

Merged
merged 8 commits into from
Apr 4, 2016
Merged

Check collaborator status #67

merged 8 commits into from
Apr 4, 2016

Conversation

timwis
Copy link
Owner

@timwis timwis commented Apr 4, 2016

This pull request hides the "Add dataset," "Edit," and "Administration" links by default unless the user is logged in with collaborator access. If the user is logged in but does not have collaborator access, a red warning is shown next to their username which, on hover, tells them they do not have collaborator access and will not be able to make changes.

Closes #20. Ideally we'd allow non-collaborators to post a pull request, but for now they should at least be required to login to get to the forms and such as it's confusing when you can see the form but saving doesn't work

@timwis timwis merged commit 343aa15 into gh-pages Apr 4, 2016
@timwis timwis deleted the check-collaborator branch April 4, 2016 11:26
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

Successfully merging this pull request may close these issues.

1 participant