projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rename foreign uuid attributes
[arvados.git]
/
services
/
api
/
app
/
models
/
link.rb
diff --git
a/services/api/app/models/link.rb
b/services/api/app/models/link.rb
index b685bb6d75cff206a4d9d6652a4f1c0846f799b9..af7226b6df2dbc9d20d258ac7ccd306de452a22e 100644
(file)
--- a/
services/api/app/models/link.rb
+++ b/
services/api/app/models/link.rb
@@
-47,7
+47,7
@@
class Link < ArvadosModel
where('uuid=?',head_uuid).
first
if head_obj
- return true if head_obj.owner == current_user.uuid
+ return true if head_obj.owner
_uuid
== current_user.uuid
end
# Users with "can_grant" permission on an object can grant