Expose path lock abilities in graphql endpoint

What does this MR do and why?

Expose path lock abilities in graphql endpoint

We introduced new fine grained abilities for the path locks in !182573 (merged)

This change exposes those abilities in the graphql endpoint which will be consumed by the frontend to correctly display the lock path button when a file is either locked or unlocked

Related to #512677 (closed)

References

Project graphql query is returning incorrect pa... (#512677 - closed)

How to set up and validate locally

Merge request reports

Loading