Adds authentication checks and filtering for relations
Merge pull request #70 from granoproject/relperms

Adds authentication checks and filtering for relations