X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ba251e274d684688217d0b1f8b1c8b14ce13feaf..d22f7ca7789a9e1c00f41864e577b8aac5154123:/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',