Add a Hateoas preference field to filter available actions through a custom script. See merge request !2039