[ARVADOS] updated: 6070945641525c97e4bcdff61561886f95557973

Git user git at public.curoverse.com
Wed Sep 13 16:00:21 EDT 2017


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

       via  6070945641525c97e4bcdff61561886f95557973 (commit)
      from  92817fd6ff865ce40e54ea514175ae2f7bf14238 (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 6070945641525c97e4bcdff61561886f95557973
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Wed Sep 13 15:59:57 2017 -0400

    12032: Remove user_uuid special case from all_perms.
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>

diff --git a/services/api/app/models/user.rb b/services/api/app/models/user.rb
index 022c4d5..f3ca759 100644
--- a/services/api/app/models/user.rb
+++ b/services/api/app/models/user.rb
@@ -161,7 +161,7 @@ class User < ArvadosModel
                   # "name" arg is a query label that appears in logs:
                   "all_group_permissions",
                   ).rows.each do |user_uuid, group_uuid, max_p_val, trashed|
-      all_perms[user_uuid] ||= {user_uuid => {:read => true, :write => true, :manage => true}}
+      all_perms[user_uuid] ||= {}
       all_perms[user_uuid][group_uuid] = PERMS_FOR_VAL[max_p_val.to_i]
     end
     all_perms

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list