Ticket #1534 (new enhancement)

Opened 2 years ago

Last modified 2 years ago

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)

Change History

comment:1 Changed 2 years ago by rgrp

  • Description modified (diff)

comment:2 Changed 2 years ago by ross

  • Milestone changed from ckan-v1.7 to ckan-backlog
Note: See TracTickets for help on using tickets.