Ticket #1534 (new enhancement) — at Version 1
Change revisions to record userid rather than username
Reported by: | rgrp | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | ckan-backlog |
Component: | ckan | Keywords: | |
Cc: | Repository: | ckan | |
Theme: | none |
Description (last modified by rgrp) (diff)
The use of username is problematic because username's can change.
- Change all revision creation code to use user id (simplest is to change c.author field in lib/base.py (?))
- (?) Add a field ipaddr for ip address of anonymous users? (or just keep putting this in author field on Revision and then acception that those won't match when we do a look up against user table)
- Change user view page to look up against user id rather than name
- Perform migration on existing Revision objects
- Match should probably be against both openid and username when searching Revisions' author field (especially true on CKAN where some people have already changed their username from being their openid)
Note: See
TracTickets for help on using
tickets.