Displaying 2 results from an estimated 2 matches for "medlem".
Did you mean:
medley
2003 Aug 19
0
Changing ACLs dont work, clicking 'apply' restores old ACL
...inherit = yes
client use spnego = no
null passwords = no
local master = no
[homes]
path = /share/rhome/%U
comment = Hemkatalog
browseable = yes
writable = yes
create mode = 0600
directory mode = 0700
guest ok = no
[medlem]
path = /share/rhome
comment = Medlem
browseable = yes
writable = yes
create mode = 0600
directory mode = 0700
guest ok = no
[scratch]
comment = Skr??p
path = /share/scratch
browseable = yes
writable = yes...
2006 Jan 28
6
Check if user is in right group
What is the best way of checking this?
I have 3 tables:
groups
users
group_members
class GroupMember < ActiveRecord::Base
belongs_to :group
belongs_to :user
validates_uniqueness_of :user_id, :scope => "group_id"
Then I want a method here that checks if a given user is a member of a
given group. What is the right way of doing that?
def