Vincent Pérès wrote:
Hello,

I'm trying to find a way to restrict access to my Radiant front pages
using Radius tags (or maybe not) like that :

<r:allow_access_to groups="user" />

tag "allow_access_to" do |tag|
  ...process...
  unless has_right
    redirect_to "/"
  end
end

But it's not working because the redirect_to method is coming from
ActionController... I tried to call a helper, but the I can't too.

Do you have any idea to 'redirect' me in the right way? What are you
using usually? Could you share your experience, thank you !

Vincent

I can't answer your question directly, but as a different solution, single pages can be easily protected by using simple_password. I wrote up a page in the Summer Reboot for this:
http://wiki.radiantcms.org/simple_password

Cheers,
Mohit.
11/25/2008 | 11:21 PM.



_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to