X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5bcba288077488791daa43a15d5fd5fb0c6e653c..df9e166a5ffc4aa79658bec1a5d552a3b413f0d8:/services/api/app/models/user.rb diff --git a/services/api/app/models/user.rb b/services/api/app/models/user.rb index a32ce39299..a47a4583cd 100644 --- a/services/api/app/models/user.rb +++ b/services/api/app/models/user.rb @@ -411,8 +411,8 @@ class User < ArvadosModel # Give the special "System group" permission to manage this user and # all of this user's stuff. - # def add_system_group_permission_link + return true if uuid == system_user_uuid act_as_system_user do Link.create(link_class: 'permission', name: 'can_manage',