sakaiproject/Hilary — pull request #352 by bp323 (2013-01-23 15:47:12+00:00)
Title: Add validator to getDirectRoles

https://github.com/sakaiproject/Hilary/issues/333

- [x] Check that at least one principal id has been provided
- [x] Check that all provided principal ids are valid
- [x] Check that a resource id has been provided
- [x] Check that the resource id is a valid id