[wip] Groups authorization bug

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 (let's say Transport) 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.

To prove this behaviour I did "/api/3/action/group_list_authz" from my ckan instance and I actually receive as response the info related to the group Transport, for which the user is no longer an administrator.