lepikhinb / momentum-lock

MIT License
54 stars 9 forks source link

Add ability to hide permissions #7

Open heychazza opened 10 months ago

heychazza commented 10 months ago

Hi,

I use a DataResource model for my frontend, but I'd also like to use this same model for my API. However, I don't want to show the 'permissions' for my frontend.

I could unset($data['permissions']); but I think a built-in way would look nicer