[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[myexperiment-hackers] authorization.rb changes
From: |
Finn Bacall |
Subject: |
[myexperiment-hackers] authorization.rb changes |
Date: |
Fri, 25 Nov 2011 15:11:34 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110921 Thunderbird/3.1.15 |
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
auth_changes.txt
Description: Text document
- [myexperiment-hackers] authorization.rb changes,
Finn Bacall <=