i love Cockpit and use it to build a SaaS application with vue.js.
Everything is working fine but my problem are the permission settings.
I hoped that an author can only get entries which he/she has inserted.
But Authors can also see and modify all entries. How to setup the permissions that the author can effect just on its entries?
Alternatively to the context rules, you can use the collections.find.before event to adjust the filter to search only for entries with _by => $user['_id'].