Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auth aware group and org list action functions should return dictized objects #1172

Merged
merged 2 commits into from
Aug 8, 2013

Conversation

amercader
Copy link
Member

organization_list_for_user and group_list_authz create a dict with the Group objects before returning the list, when they should be calling model_dictize.group_list_dictize as the rest.

The whole groups list thing is a bit messy, with wrong docstrings, inconsistent docstrings and duplicated code. organization_list_for_user , group_list_authz and _group_or_org_list should all share the same code if possible, that you can be a separate issue.

kindly added a commit that referenced this pull request Aug 8, 2013
Auth aware group and org list action functions should return dictized objects
@kindly kindly merged commit 01a3c05 into master Aug 8, 2013
amercader added a commit that referenced this pull request Aug 8, 2013
…on function

Conflicts:

	ckan/logic/action/get.py
amercader added a commit that referenced this pull request Aug 8, 2013
@smotornyuk smotornyuk deleted the 1172-groups-list-use-dictization branch December 19, 2018 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants