[ckan-dev] groups authorization

Fabrizio Fornari ckanappoggio at gmail.com
Wed May 7 09:20:24 UTC 2014


Yes, it did the trick!

Now, the groups returned by "/api/3/action/group_list_authz" are actually
only the ones for which the user has the authorization.

Thank you!


On Wed, May 7, 2014 at 9:52 AM, Nigel Babu <nigel.babu at okfn.org> wrote:

> Hi Fabrizio
>
> I've converted this into a pull request. If you have time to test that
> pull request to confirm everything works fine, that'd be great.
>
> Nigel Babu
> Developer, Open Knowledge
>
>
> On 30 April 2014 15:05, Fabrizio Fornari <ckanappoggio at gmail.com> wrote:
>
>> Done: https://github.com/ckan/ckan/issues/1696
>>
>>
>> On Wed, Apr 30, 2014 at 10:48 AM, Nigel Babu <nigel.babu at okfn.org> wrote:
>>
>>> Sounds like. Please file a bug.
>>>
>>> Nigel Babu
>>> Developer, Open Knowledge
>>>
>>>
>>> On 30 April 2014 13:55, Fabrizio Fornari <ckanappoggio at gmail.com> wrote:
>>>
>>>> Hi guys,
>>>>
>>>> I am running ckan2.2 and I faced a strange behaviour with the groups
>>>> authorization.
>>>>
>>>> If I set an user as administrator of a group and after I remove it from
>>>> being an administrator, the user seems to still have the possibility to add
>>>> datasets to that group and the group itself remains under the catalogue "My
>>>> groups" of that user, causing Server Errors when the user tries to add (or
>>>> remove) a dataset to that group.
>>>>
>>>> Is this a bug?
>>>>
>>>>
>>>> _______________________________________________
>>>> ckan-dev mailing list
>>>> ckan-dev at lists.okfn.org
>>>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>>>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> ckan-dev mailing list
>>> ckan-dev at lists.okfn.org
>>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>>
>>>
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>
>>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140507/37d61435/attachment-0003.html>


More information about the ckan-dev mailing list