zenstack
zenstack copied to clipboard
[Feature Request] Allow selecting entities by update/edit rights
Is your feature request related to a problem? Please describe. Currently, we still have do duplicate some select logic when we want to get an editable list of entities.
Describe the solution you'd like Since we already specify who can edit. A way to be able to select/get only those would be a useful shortcut.
Describe alternatives you've considered Not that I know of.
Additional context There still should be the possibility to get them all, this is for an occasion where you have public viewing stuff, and private editing stuff.