Introduce pundit through jsonapi-authorization beta version of the gem.
Authorizing actions is now incorporated throughout. The ApplicationController will handle the FORBIDDEN (403) errors raised by the Pundit authorizations.
Pundit policies are now all unit tested.
New Base Controllers and Resources have been created.
I've added the SessionActivity model that collects the activity of every single request that a session makes. This can be turned off with an environment variable.
The README has been significantly enhanced to give instructions of how to use this project.
Introduce
pundit
throughjsonapi-authorization
beta version of the gem.Authorizing actions is now incorporated throughout. The
ApplicationController
will handle the FORBIDDEN (403) errors raised by the Pundit authorizations.Pundit policies are now all unit tested.
New Base
Controller
s andResource
s have been created.I've added the
SessionActivity
model that collects the activity of every single request that a session makes. This can be turned off with an environment variable.The README has been significantly enhanced to give instructions of how to use this project.