[ARVADOS] updated: 1.1.3-80-g2f05761

Git user git at public.curoverse.com
Tue Feb 20 12:37:02 EST 2018


Summary of changes:
 services/api/app/models/collection.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  2f0576120e69fce9407ed98688a22b768711a909 (commit)
      from  2adba06cd420ca3c9c274eedb5429dd1aa36d300 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 2f0576120e69fce9407ed98688a22b768711a909
Author: Lucas Di Pentima <ldipentima at veritasgenetics.com>
Date:   Tue Feb 20 14:36:43 2018 -0300

    12707: Fix typo
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima at veritasgenetics.com>

diff --git a/services/api/app/models/collection.rb b/services/api/app/models/collection.rb
index 3146398..b99a265 100644
--- a/services/api/app/models/collection.rb
+++ b/services/api/app/models/collection.rb
@@ -478,7 +478,7 @@ class Collection < ArvadosModel
 
   def ensure_permission_to_save
     if (not current_user.andand.is_admin and
-      replication_confirmed_at_changed? or replication_confirmed_changed?) and
+      (replication_confirmed_at_changed? or replication_confirmed_changed?) and
       not (replication_confirmed_at.nil? and replication_confirmed.nil?))
       raise ArvadosModel::PermissionDeniedError.new("replication_confirmed and replication_confirmed_at attributes cannot be changed, except by setting both to nil")
     end

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list