Jeff Barczewski
2007-Feb-07 13:41 UTC
[Masterview-devel] New MasterView custom authorization mixin
Deb, I have changed the authorization to use a configurable mixin like we discussed. The changes are in the trunk. See what you think and feel free to augment the documentation accordingly. I included a sample mixin in the examples/rails_admin_auth directory and the corresponding config to use it. Note that module name needs to be at root level since we can''t easily do nested (namespaced modules), I am using const_get to turn string into constant for include. Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/masterview-devel/attachments/20070207/df0d0093/attachment.html
Hendy Irawan
2007-Feb-09 02:01 UTC
[Masterview-devel] New MasterView custom authorization mixin
On 2/7/07, Jeff Barczewski <jeff.barczewski at gmail.com> wrote:> Deb, > > I have changed the authorization to use a configurable mixin like we discussed. > > The changes are in the trunk. > > See what you think and feel free to augment the documentation accordingly. I included a sample mixin in the examples/rails_admin_auth directory and the corresponding config to use it. Note that module name needs to be at root level since we can''t easily do nested (namespaced modules), I am using const_get to turn string into constant for include.Wow seriously it seems lots have been improved since the last time I checked... :-) You guys rock!! -- Hendy Irawan Web: http://hendy.gauldong.net Mobile: +62 856 24889899 Yahoo Messenger: ceefour666 LinkedIn: http://www.linkedin.com/in/ceefour
Jeff Barczewski
2007-Feb-09 02:35 UTC
[Masterview-devel] New MasterView custom authorization mixin
On 2/8/07, Hendy Irawan <gauldong at gmail.com> wrote:> > On 2/7/07, Jeff Barczewski <jeff.barczewski at gmail.com> wrote: > > Deb, > > > > I have changed the authorization to use a configurable mixin like we > discussed. > > > > The changes are in the trunk. > > > > See what you think and feel free to augment the documentation > accordingly. I included a sample mixin in the examples/rails_admin_auth > directory and the corresponding config to use it. Note that module name > needs to be at root level since we can''t easily do nested (namespaced > modules), I am using const_get to turn string into constant for include. > > Wow seriously it seems lots have been improved since the last time I > checked... :-) > > You guys rock!! >Thanks! We are trying :-) Deb is improving on this even a little more as we speak. We''ll be rolling this and the rest of the changes/fixes into the next release (which we are hoping to pub out soon). Of course it is available now in the trunk for edge riders. Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/masterview-devel/attachments/20070208/4eb6ea9f/attachment.html