X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/fbd54468b13466839c24d880a3d041d0a49371af..2bcd1451cbcad6e96610f0ddfe14a19f8dd4a3ba:/services/api/app/models/api_client_authorization.rb diff --git a/services/api/app/models/api_client_authorization.rb b/services/api/app/models/api_client_authorization.rb index c587e5830a..499a61b7d3 100644 --- a/services/api/app/models/api_client_authorization.rb +++ b/services/api/app/models/api_client_authorization.rb @@ -82,8 +82,9 @@ class ApiClientAuthorization < ArvadosModel def permission_to_update (permission_to_create and - not self.user_id_changed? and - not self.owner_uuid_changed?) + not uuid_changed? and + not user_id_changed? and + not owner_uuid_changed?) end def log_update