Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change /record URL routing, make collection names unique only by user #151

Closed
markmacgillivray opened this issue Jan 19, 2012 · 1 comment
Assignees

Comments

@markmacgillivray
Copy link
Contributor

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

markmacgillivray pushed a commit that referenced this issue Jan 25, 2012
…es - ints were throwing an exception in tablify and the loop was failing. added a check for ints. altered URL routing for records to be /user/coll/record, but still need to update collection queries so that collection is not expected to be unique - #151. enabled ris upload - #144.
@markmacgillivray
Copy link
Contributor Author

This is done now, collection records know their owner and are searched as a combination of collection and owner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant