User can create group

This commit is contained in:
Dmitriy Zaporozhets 2013-01-24 17:47:09 +02:00
parent d9027df5b5
commit f6c482c06f
12 changed files with 117 additions and 31 deletions

View file

@ -220,7 +220,7 @@ class User < ActiveRecord::Base
end
def can_create_group?
is_admin?
can_create_project?
end
def abilities