18164: Improve permission query for links
authorPeter Amstutz <peter.amstutz@curii.com>
Tue, 21 Sep 2021 21:01:42 +0000 (17:01 -0400)
committerPeter Amstutz <peter.amstutz@curii.com>
Tue, 21 Sep 2021 21:01:42 +0000 (17:01 -0400)
commitd0cdf85679a85998885c154d69dd317bd3396d7c
tree32ac637fd6a490a0d28fef01882a2a5db17aaf67
parent64d7fc52356c128c367f18bcbe7a0c6f56a459a4
18164: Improve permission query for links

* Fixed so that permission links where the user can_manage the head_uuid are
visible to the user

* Add get_permissions to the API documentation for links

* Do not consider 'resource' a permission link class (as far as I know
this has never been used)

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
doc/api/methods/links.html.textile.liquid
services/api/app/controllers/arvados/v1/links_controller.rb
services/api/app/models/arvados_model.rb
services/api/test/integration/permissions_test.rb