Actions
Task #3237
closedBug #3072: [Workbench] Showing the empty collection in Workbench gives an error page
Review 3072-empty-collection-bugfix
Description
Changes at a96adab2a:
Added empty collection (owned by the anonymous group) to test fixtures and to db/seeds.rb
.
API integration tests: in permissions_test.rb
, test that the active user can read objects in the anonymous group, even when there are no explicit permission links on that group or objects in it.
Workbench integration tests: added a test to confirm that a non-admin user can get the empty collection.
Cleanup code: User.can?
now takes either a uuid or an object for the target.
Actions