graphoid
graphoid copied to clipboard
Where to add authorization?
Hey @maxiperezc!
Thanks for the great gem! I'm really curious to give it a try in my app. :)
I'm trying to figure out where I'd add authorization, so that I can, for example, restrict access to non-published Posts, or prevent user/guest from creating new Blogs, etc.
I've found Permissions section in the docs, but (as far as I understand) it's actually only for hiding certain fields from the API.
Thanks!
@vfonic Unfortunately I haven't had time to add an authorization layer to this gem yet, but I am planning to add them as soon as I have that requirement myself.