Groups
Groups
Sign in
Groups
Groups
Rails Authorization Plugin
Conversations
About
Send feedback
Help
all users w specific role
11 views
Skip to first unread message
Erwin
unread,
Oct 5, 2009, 6:59:46 PM
10/5/09
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 Rails Authorization Plugin
How to find all users with a specific role ?
did I miss it in the examples or should I write a loop on the User
model ?
tfyh
erwin
erwin
unread,
Oct 6, 2009, 6:44:17 AM
10/6/09
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 Rails Authorization Plugin
got it .. dumb me .. Role.find_by_name('a_role').users ( if not
empty..)
Reply all
Reply to author
Forward
0 new messages