[ckan-changes] [okfn/ckan] 4c47e1: [#356] Tweak auth.create_user logic

GitHub noreply at github.com
Thu Feb 14 17:23:24 UTC 2013


  Branch: refs/heads/356-auth-create-user-option
  Home:   https://github.com/okfn/ckan
  Commit: 4c47e1cb1d76aaaba2042ff64c9717586acee5b9
      https://github.com/okfn/ckan/commit/4c47e1cb1d76aaaba2042ff64c9717586acee5b9
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-02-14 (Thu, 14 Feb 2013)

  Changed paths:
    M ckan/logic/auth/create.py

  Log Message:
  -----------
  [#356] Tweak auth.create_user logic

If ckan.auth.create_user = False then don't let anyone create users,
either via the API or via the web interface.


  Commit: 59db288d001a02e7da7e0f0500a74846e9565f3d
      https://github.com/okfn/ckan/commit/59db288d001a02e7da7e0f0500a74846e9565f3d
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-02-14 (Thu, 14 Feb 2013)

  Changed paths:
    M ckan/logic/auth/create.py

  Log Message:
  -----------
  [#356] Better error messages for create user auth

If not allowed to create users via api then say 'not authorized to
create user via api', if not allowed to create users at all then say
'not authorized to create users'.


Compare: https://github.com/okfn/ckan/compare/ffa4db356b09...59db288d001a


More information about the ckan-changes mailing list