[ckan-changes] [okfn/ckan] f366ba: [#1188] Allow organization dropdown to be displaye...

GitHub noreply at github.com
Wed Nov 27 18:39:33 UTC 2013


  Branch: refs/heads/1188-fix-org-list-dataset-form
  Home:   https://github.com/okfn/ckan
  Commit: f366ba684340adbb903b78bc5beb871069a6a0c2
      https://github.com/okfn/ckan/commit/f366ba684340adbb903b78bc5beb871069a6a0c2
  Author: amercader <amercadero at gmail.com>
  Date:   2013-11-27 (Wed, 27 Nov 2013)

  Changed paths:
    M ckan/templates/package/snippets/package_basic_fields.html

  Log Message:
  -----------
  [#1188] Allow organization dropdown to be displayed

The current logic was unclear. If a user belongs to at least one
organization, the dropdown will be displayed, both on the created and
edit forms. Same for the visibility one.


  Commit: 62fba1241be09e7ff6bd197a79e0c8258a00b357
      https://github.com/okfn/ckan/commit/62fba1241be09e7ff6bd197a79e0c8258a00b357
  Author: amercader <amercadero at gmail.com>
  Date:   2013-11-27 (Wed, 27 Nov 2013)

  Changed paths:
    M ckan/logic/validators.py

  Log Message:
  -----------
  [#1188] Allow empty orgs if datasets can be unowned

If the "create_unowned_dataset" is set to True and you are not a
sysadmin and select the "No organization" option on the dataset form,
you get a validation error.


Compare: https://github.com/okfn/ckan/compare/f366ba684340^...62fba1241be0


More information about the ckan-changes mailing list