Ruby on Rails Saturday, January 2, 2016

Hi Walter!

Thanks for your response!

Yes ActionControl is much more lightweight (probably also because I started it as recently as yesterday ;)) than CanCanCan and the other Gems. The main 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.

Thanks

Tobias

On Friday, 1 January 2016 19:14:00 UTC+1, Walter Lee Davis wrote:

> On Jan 1, 2016, at 1:01 PM, Tobias Feistmantl <tobias.f...@gmail.com> wrote:
>
> Hi guys!

(and gals)

>
> 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.

Walter

>
> Thank you very much!
>
> Happy coding :)
>
> Tobias Feistmantl
>
> Twitter: @T_Feistmantl
> Github: tobiasfeistmantl
> StackOverflow: Tobias
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/6c1fa3f9-f4f7-49fd-bd02-1c25431fa01e%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/785857f1-b84b-4433-b541-2aff080e4f1a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment