[ckan-changes] [okfn/ckan] 699942: [#1178] The user is activated when it performs the...

GitHub noreply at github.com
Thu Aug 15 00:45:44 UTC 2013


  Branch: refs/heads/1178-users-invitations
  Home:   https://github.com/okfn/ckan
  Commit: 69994292981e641233967d4858b4a043c03cab83
      https://github.com/okfn/ckan/commit/69994292981e641233967d4858b4a043c03cab83
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2013-08-14 (Wed, 14 Aug 2013)

  Changed paths:
    M ckan/controllers/user.py
    M ckan/tests/functional/test_user.py

  Log Message:
  -----------
  [#1178] The user is activated when it performs the reset password


  Commit: 11011e07ddbc52be68c46ab8fa5e70b5c76eec19
      https://github.com/okfn/ckan/commit/11011e07ddbc52be68c46ab8fa5e70b5c76eec19
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2013-08-14 (Wed, 14 Aug 2013)

  Changed paths:
    M ckan/controllers/user.py
    M ckan/logic/action/create.py
    M ckan/logic/auth/create.py
    M ckan/logic/schema.py
    M ckan/new_authz.py
    M ckan/tests/functional/test_user.py
    M ckan/tests/logic/test_action.py
    M ckan/tests/logic/test_auth.py
    M dev-requirements.txt

  Log Message:
  -----------
  [#1178] Admins can invite users

The invited user starts in pending state, with the password reset key set. We
still have to send an email to the user telling him/her to change the password
and log in.

I had to change authorization code to only automatically unauthorize deleted
users, not pending. This was because the users needs to be able to perform the
password reset when pending, to be able to become active.


Compare: https://github.com/okfn/ckan/compare/a492bad140a7...11011e07ddbc


More information about the ckan-changes mailing list