Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Group info
Language: Russian
Group categories: Not categorized
More group info »
Active older topics
5 new of 5 - Jan 8 2011
2 new of 2 - Sep 27 2010
2 new of 2 - Sep 27 2010
3 new of 3 - Aug 3 2010
4 new of 4 - Jun 24 2010
2 new of 2 - May 12 2010
2 new of 2 - May 4 2010
2 new of 2 - May 4 2010
3 new of 3 - Apr 2 2010
3 new of 3 - Mar 31 2010
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 70  Older »

You cannot post messages because only members can post, and you are not currently a member.
Description: Discussion group for acl9, the RoR authorization plugin (http://github.com/be9/acl9)
 

How to join 3 tables 
  Hello, I don't speak english very well but i'll try.. :) So , i need to joind three ou more tables but when i click on button " join" i have just choice to join two tables but i want to join 5 tables May someone helps me to resolve my requirement, please ! Best regards, Mehdi Battache
By Mehdi Battache  - Jan 18 - 1 new of 1 message    

Partial restriction on download method. 
  I like to restrict the access in a download method in a dataset controller with authlogic and acl9. The download method at the moment is restricted to logged in users only. But now I like to have one format to be downloadable for everybody. The method looks like this: def download @dataset.log_download(current_ user)... more »
By Claas-Thido Pfaff  - Jan 14 - 1 new of 1 message    

created_at is not being set 
  I am on Rails3 and has_role! invocation fails. I think I have everything setup correctly. Do I need to create a RoleUser class? user.has_role! :admin Role Load (0.5ms) SELECT "roles".* FROM "roles" WHERE (name = 'admin' and authorizable_type IS NULL and authorizable_id IS NULL) LIMIT 1 Role Exists (0.5ms) SELECT 1 FROM "roles" INNER JOIN "roles_users"... more »
By Sunil Gowda  - Feb 26 2012 - 1 new of 1 message    

how to monitor if the roles for a user change ? 
  I need to monitor when the roles for a user change (say a role is added or deleted). The natural thing that occurs to me is to place callbacks (eg, before_save) in the join table (say roles_users if the subjects are users). However, acl9 uses HABTM associations so there is no model associated with the join table.... more »
By jaambros  - Nov 3 2011 - 3 new of 3 messages    

has_hole error 
  has_role? not has_hole?
By Jason King  - Aug 8 2011 - 1 new of 1 message    

parameters inside access control 
  Hi, first of all sorry for posting in portuguese, kk now in english i has te following code: access_control do #----------------------------- ---Permissões liberadas para administrador----------------- ------------------ allow :Administrador #----------------------------- -----------Permissões para... more »
By Edu Mariano  - Aug 3 2011 - 1 new of 1 message    

parametros dentro do acess control 
  Bom dia pessoal eu tenho seguinte código: access_control do #----------------------------- ---Permissões liberadas para administrador----------------- ------------------ allow :Administrador #----------------------------- -----------Permissões para indicators-------------------- --------------------... more »
By Edu Mariano  - Aug 3 2011 - 1 new of 1 message    

assigning role in seed.rb 
  Hi I need to create default admin profile in seed.rb. Tried smoething like this: user=User.find_or_create_by_em ail(:login=>'some login',:password=>'some_pass', :password_confirmation=>'some_ pass',:email=>'some_m...@gmail .com').save! user.has_role! :admin But it doesn't work and returns :... more »
By bujal  - Mar 25 2011 - 1 new of 1 message    

Self ownership 
  It is possible to add access control that allows the current_user to access the user show action it they are that user!? Something like UsersController <AC::BAse access_control do allow :admin # allow if the current_user is @user, :to => [:show] deny anonymous, :except => [:new]... more »
By Kevin Monk  - Jan 8 2011 - 3 new of 3 messages    

1 - 10 of 70   « Newer | Older »

XML       Send email to this group: acl9-discuss@googlegroups.com