myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2973] trunk/lib/rest.rb: second part of API perm


From: noreply
Subject: [myexperiment-hackers] [2973] trunk/lib/rest.rb: second part of API permission fix
Date: Tue, 20 Mar 2012 13:10:01 +0000 (UTC)

Revision
2973
Author
dgc
Date
2012-03-20 13:10:01 +0000 (Tue, 20 Mar 2012)

Log Message

second part of API permission fix

Modified Paths

Diff

Modified: trunk/lib/rest.rb (2972 => 2973)


--- trunk/lib/rest.rb	2012-03-20 12:48:37 UTC (rev 2972)
+++ trunk/lib/rest.rb	2012-03-20 13:10:01 UTC (rev 2973)
@@ -953,10 +953,10 @@
         end
       end
     end
+
+    ob.contribution.policy.update_attributes(:share_mode => share_mode,
+        :update_mode => update_mode)
   end
-
-  ob.contribution.policy.update_attributes(:share_mode => share_mode,
-      :update_mode => update_mode)
 end
 
 def workflow_aux(action, opts = {})

reply via email to

[Prev in Thread] Current Thread [Next in Thread]