Displaying 1 result from an estimated 1 matches for "ban_group_id".
Did you mean:
a_group_id
2007 Aug 23
0
how to manage group permissions?
...ick" or
"ban" users. I want the creator to be able to grant other members of
the group to kick and ban.
This is how I want to do it:
I''m usgin acl_system2 and the creator can grant kick and ban
permissions to group members by creating roles "kick_group_id" or
"ban_group_id" for those users and then in the view I do:
<% restrict_to "(creator | kick_#{@group.id}) do %>
<%= link_to "kick this user out of the group",
group_membership(@group,membership),:method=>''delete''%>
<% end %>
is this a good way to deal w...