Project

General

Profile

Actions

Task #3237

closed

Bug #3072: [Workbench] Showing the empty collection in Workbench gives an error page

Review 3072-empty-collection-bugfix

Added by Tim Pierce almost 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Tim Pierce
Target version:

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 #1

Updated by Brett Smith almost 10 years ago

  • Status changed from New to In Progress
  • Assigned To set to Brett Smith
Actions #2

Updated by Brett Smith almost 10 years ago

  • Assigned To changed from Brett Smith to Tim Pierce
Actions #3

Updated by Tim Pierce almost 10 years ago

  • Assigned To changed from Tim Pierce to Brett Smith
Actions #4

Updated by Brett Smith almost 10 years ago

  • Assigned To changed from Brett Smith to Tim Pierce
Actions #5

Updated by Tim Pierce almost 10 years ago

  • Status changed from In Progress to Resolved
  • Remaining (hours) changed from 0.5 to 0.0
Actions

Also available in: Atom PDF