Ticket #1386 (closed enhancement: fixed)

Opened 3 years ago

Last modified 2 years ago

Disallow account creation via openid

Reported by: rgrp Owned by: rgrp
Priority: major Milestone: ckan-sprint-2011-10-24
Component: vdm Keywords:
Cc: Repository: ckan
Theme: none

Description (last modified by rgrp) (diff)

Superticket: #1343

Creation of accounts from OpenID causes large number of problems:

  • No guarantee of other profile info
  • Poor username (just from openid)

We therefore will:

  1. Require creation of user account via register (no auto-creation of accounts via openid)
    • sidebar of register page should point to login page rather than openid signin

  1. Permit association of an openid with an account ...
    • How: paste in your openid url (requires change to edit form to have this)
      • won't work for google with their weird openid urls
    • [future] Nicer way is to have login via openid while logged in (which association then happening in background)
  1. Migration (for 1+2):
    • (?) Generate decent usernames for all existing accounts
    • As this is nontrivial suggest instead we allow editing of usernames (by account owner and sysadmins). This is useful in its own right and is a reasonable 80/20 solution.
      • This does present the problem of re-associating commits with the new username. Best solution to this would be to switch revisions to point to userid rather than username. See #1534
  1. [optional] Change display_name to always be username
    • Change My Account to Username at top right of all pages (once we know usernames are short ...)
      • could do this straight away by truncating long usernames (e.g. truncate at 20 chars ...)
      • Also should we lose the icon?

Change History

comment:1 Changed 3 years ago by rgrp

  • Description modified (diff)

comment:2 Changed 3 years ago by rgrp

  • Status changed from new to closed
  • Resolution set to fixed
  • Component changed from ckan to vdm

comment:3 Changed 2 years ago by rgrp

  • Description modified (diff)
  • Milestone changed from ckan-sprint-2011-10-24 to ckan-v1.6

comment:4 Changed 2 years ago by rgrp

  • Description modified (diff)
  • Milestone changed from ckan-v1.6 to ckan-sprint-2011-10-24

See #1534 for remaining work to ensure that when usernames get changed connection with activity is not lost.

comment:5 Changed 2 years ago by dread

These changes go into release v1.5.1.

Note: See TracTickets for help on using tickets.