okfn/bibserver — Issue #151: Change /record URL routing, make collection names unique only by user
Author: markmacgillivray
Created: 2012-01-19 08:28:32+00:00
State: open

All records belong to collections, and all collections belong to users. So change the URL for a record to be ///id.

As per current setup, ID should be the ID of the record as provided by the collection, or the assigned uuid if there was not a provided ID. Where collisions occur, show a list of the ones with the same IDs in the collection to be chosen by their distinguishing uuid.

Given this, all collection names should cease to be unique across the system, but only unique by user (which requires a change to the way records are queried and retrieved - any collection search is going to have to be a search for user and collection