You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to acl9-discuss
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.
Any ideas on how I can do this?
After searching here and there I found there was an effort to modify
acl9 to use has_many :through associations. Does anybody know if this
is working and where to find it?
Any help here would be greatly appreciated. THanks, Jose
Sharad Jain
unread,
Nov 3, 2011, 10:46:18 PM11/3/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to acl9-d...@googlegroups.com
One way would be to override User.has_role! and User.has_no_role!
methods...