[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [myexperiment-hackers] authorization.rb changes
From: |
Don Cruickshank |
Subject: |
Re: [myexperiment-hackers] authorization.rb changes |
Date: |
Fri, 25 Nov 2011 15:49:15 +0000 |
That's fine Finn.
Don.
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden
> On Behalf Of Finn Bacall
> Sent: 25 November 2011 3:12 PM
> To: address@hidden
> Subject: [myexperiment-hackers] authorization.rb changes
>
> Hi guys,
>
> I've decided to make data sets a "contribution" so they can have permissions
> set on them in the event that they contain private/sensitive raw data.
>
> In doing this I made some changes to the authorization code because it didn't
> know what to do with a DataSet object.
>
> Rather than go through add "DataSet" in the places where it mentions
> "Workflows", "Packs" and other contributables, I made it read them all from
> "Conf.contributable_models".
>
> I attached the diff of my changes, let me know if I've done something silly.
>
> -Finn
>
> --
> Finn Bacall
> School of Computer Science
> University of Manchester