Class: Group

Inherits:
Object
  • Object
show all
Includes:
MongoMapper::Document
Defined in:
app/models/group.rb

Instance Method Summary collapse

Instance Method Details

#reserved_usersObject



18
19
20
# File 'app/models/group.rb', line 18

def reserved_users
  raise "不能修改删除管理组" if ["admin"].include?(name)
end