Added policy classes and specs
All the policy classes corresponding to ability class are implemented and all the policy specs corresponding to ability_spec are passed.
Add example not to permit institional user to see other institution's profile and add edit/update password ability test examples for user policy
Set up authorizations for institutions and users
Changed permissions according to confirmed updated permission table; eliminate define policy for SolrDocument
Eliminate using load_resource associated with CanCan; instead, load parent resource explicitly
Set up access groups (consortia, institution, and restricted) for IntellectualObject and GenericFile
Pass tests in users/institutions/intellectualobjects controllers.
All the existing tests are passed. Still need to refine my policy class tests a little more.
All tests are passed. Still need to reflect tests in original ability_spec.rb
Now the tests include examples in original ability_spec.rb
Fixed blank search and search with access option inconsistency problem
Checking access permissions on SolrDocument directs to corresponding Fedora object.
fixed failing test
Group poicy test into groups of examples so to reduce the running time
merge conflict fixed
refactored policy tests to allow for access policies
fixed failing tests
fixed merge conflicts
added permissions for custom IO and PI controller methods and fixed policies for failing tests