Prohibit user/role to access other people's records in a collection?

Let’s say you have multiple users and they all add records to a collection, but you don’t want them to see each other’s records (but an admin or specific role can).

Would that be possible in Cockpit?

Edit: I found code for v1, which is very similar to what I’m after, but I think it works different in v2: cockpit-scripts/restrict-content-to-owner-and-disallow-editing-published-entries.php at master · raffaelj/cockpit-scripts · GitHub

1 Like