WileESpaghetti / pantry

Frontend for Larder.io
1 stars 0 forks source link

switch to gate for more generic policies #12

Open WileESpaghetti opened 1 year ago

WileESpaghetti commented 1 year ago

Using gate might provide a way to do more generic policies to protect models. For example most of the models should only be readable/writeable by their creators, but with the current Policy classes that logic is duplicated for each model.

See: