dashboard_app/views: stick to restricted-resource public API
dashboard_app/views: stick to restricted-resource public API

In practice the returned results are exactly the same. The only
difference is that owned_by_principal is a published API call while
_owned_by_user is not, and owned_by_principal will also work for groups.

Change-Id: I34e14cbf54f4c249c298ea9dd1c4d08b4c85ad48

OSSystems/lava-server,Linaro/lava-server,Linaro/lava-server,Linaro/lava-server,Linaro/lava-server,OSSystems/lava-server,OSSystems/lava-server