I’ve created a simple Gem called action_control
https://github.com/tobiasfeistmantl/action_control primarily to
users separately for every action. it’s a pretty simple and small Gem
I would appreciate it, if you take a look on it and help to improve and
Thank you very much!
Twitter: @T_Feistmantl https://twitter.com/T_Feistmantl
Github: tobiasfeistmantl https://github.com/tobiasfeistmantl
StackOverflow: Tobias http://stackoverflow.com/users/3756358/tobias
On Jan 1, 2016, at 1:01 PM, Tobias F. [email protected]
I’ve created a simple Gem called action_control primarily to authorize users
separately for every action. it’s a pretty simple and small Gem currently.
I would appreciate it, if you take a look on it and help to improve and extend.
At first glance, this looks really useful. It’s got a feeling of “CanCan
without so much magic” and I think that it could be a very useful
teaching tool, since it lays out what it does in such a declarative
manner. Excited to see where this goes! I am a big fan of “more code”
versus “less code”, because the more code is self-documenting.
Thanks for your response!
Yes ActionControl is much more lightweight (probably also because I
it as recently as yesterday ;)) than CanCanCan and the other Gems. The
reason I’ve created this Gem was because I don’t like the way CanCanCan
stores the authorization code. You have to store everything in Policy
classes and somehow have a “connection” between your model and the
authorization. With ActionControl the check is always done in the
controller in which the authorization is placed.
But of course there are a lot more things to do to make ActionControl
great. The first what i can think of would be test helpers, view helpers
and to fix the known issues.
I will do my best to improve ActionControl and implement all these cool
things and as I already said I would appreciate any help.