[ckan-dev] authorization groups ?

David Read david.read at hackneyworkshop.com
Wed Jan 30 22:43:48 UTC 2013


Pascal,

As I understand it, authorization groups were removed from the UI in
1.7 and from the core in 1.8. Digging out the paster code from earlier
versions would perhaps be possible, but no good if you are ever going
to upgrade. You could just run paster commands in batch to achieve
what you want.
http://trac.ckan.org/ticket/2366

The replacement feature was 'publisher profile' / 'organizations'
(created in the 'group refactor') and is available in CKAN 1.7-1.8 I
believe. It allows you to associate users with groups with a certain
permission to edit datasets in that group, so subtly different to
Authorization Groups, but better fits the common usage pattern.
http://trac.ckan.org/ticket/1669
http://trac.ckan.org/ticket/2255
http://docs.ckan.org/en/latest/publisher-profile.html

BTW data.gov.uk extends 'publisher profile' to allow publishers to be
in a hierarchy, with permissions that extend to sub-publishers.

And I believe there has been a lot of work in the area of publishers
and permissions for CKAN 2.0, but if you're interested in that, then
Toby would have to tell you the upshot.

David

On 25 January 2013 14:47,  <p.romain at cg33.fr> wrote:
>
>   Hi,
> Tanks. I am sure it would but I am actually in 1.7.2 and we are studying with you the feasability to upgrade to 1.8.
> Until then, can you point me to a way to create an authorization group in my production environnement ?
>
> Regards,
> Pascal
>
>
> -----Toby Dacre <toby.okfn at gmail.com> a écrit : -----
>
>  =======================
>  A : CKAN Development Discussions <ckan-dev at lists.okfn.org>
>  De : Toby Dacre <toby.okfn at gmail.com>
>  Date : 25/01/2013 14:14
>  Objet : Re: [ckan-dev] authorization groups ?
>  =======================
>    2013/1/25 <p.romain at cg33.fr>
>
>> Hi,
>>
>> Add several users at once to allow them to read or edit a dataset or a
>> group.
>>
>
> In ckan 2.0 we have organizations that own datasets and control who can
> edit/view those datasets
> users can be added to the org with a role such as admin/editor
>
> hopefully this would also meet your need.  groups also have admins etc but
> groups only 'group' datasets and do not 'own' them in the sense that
> organizations do.
>
> cheers
>
> toby
>
>>
>> Cordialement,*
>> Pascal Romain**
>> Chef de projet informatique documentaire*
>> Service Projets Etudes Conseils*
>> Direction des Systèmes d'Information*
>> 05 56 99 33 33 poste 6643
>> @datalocale*
>> * <http://www.gironde.fr/>
>>
>>
>>
>> De :        Sean Hammond <sean.hammond at okfn.org>
>> A :        ckan-dev at lists.okfn.org
>> Date :        25/01/2013 13:01
>> Objet :        Re: [ckan-dev] authorization groups ?
>> Envoyé par :        ckan-dev-bounces at lists.okfn.org
>> ------------------------------
>>
>>
>>
>> Hi, auth groups are deprecated. I think it may still be possible to use
>> them in CKAN 1.8, but I don't think they exist anymore in CKAN 2.0, so
>> using them will only make it difficult for you to upgrade.
>>
>> What exactly do you want to do, that requires auth groups?
>>
>> On Thu, Jan 24, 2013 at 02:30:41PM +0100, p.romain at cg33.fr wrote:
>> > Hi,
>> > We did some modifications to the open state of CKAN in order to fit to
>> our
>> > "publisher mode" (as described here:
>> >
>> http://docs.ckan.org/en/ckan-1.8/authorization.html?highlight=create%20agroup#publisher-mode
>> > ).
>> >
>> > I read in different parts of the documentation references to the
>> > authorization group feature but I thought it was deprecated.
>> > However it still appears in the doc but I can't find a way to create
>> such
>> > an authorization group via the paster command.
>> > Is it feasible and if yes what is the paster command in order to create
>> an
>> > authorization group ?
>> >
>> > Thanks in advance,
>> >
>> > King regards,
>> > Pascal Romain
>> >
>> > @datalocale
>> >
>> > __________________________________________________________________
>> >
>> > Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ?
>> l'intention exclusive de ses destinataires. Ce message ne constitue pas un
>> document officiel. Seuls les documents rev?tus de la signature du Pr?sident
>> du Conseil G?n?ral ou d'un de ses d?l?gataires sont de nature ? engager le
>> D?partement.
>> > Toute utilisation ou diffusion non autoris?e est interdite. Tout message
>> ?lectronique est susceptible d'alt?ration et le D?partement de la Gironde
>> d?cline toute responsabilit? au titre de ce message s'il a ?t? alt?r?,
>> d?form?, falsifi?.
>>
>> > _______________________________________________
>> > ckan-dev mailing list
>> > ckan-dev at lists.okfn.org
>> > http://lists.okfn.org/mailman/listinfo/ckan-dev
>> > Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>>
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>>
>>
>> __________________________________________________________________
>>
>> Ce message et toutes les pièces jointes sont confidentiels et établis à
>> l'intention exclusive de ses destinataires. Ce message ne constitue pas un
>> document officiel. Seuls les documents revêtus de la signature du Président
>> du Conseil Général ou d'un de ses délégataires sont de nature à engager le
>> Département.
>> Toute utilisation ou diffusion non autorisée est interdite. Tout message
>> électronique est susceptible d'altération et le Département de la Gironde
>> décline toute responsabilité au titre de ce message s'il a été altéré,
>> déformé, falsifié.
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>>
>>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
> __________________________________________________________________
>
> Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Ce message ne constitue pas un document officiel. Seuls les documents revêtus de la signature du Président du Conseil Général ou d'un de ses délégataires sont de nature à engager le Département.
> Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération et le Département de la Gironde décline toute responsabilité au titre de ce message s'il a été altéré, déformé, falsifié.
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev




More information about the ckan-dev mailing list