User can create group
This commit is contained in:
parent
d9027df5b5
commit
f6c482c06f
12 changed files with 117 additions and 31 deletions
|
@ -220,7 +220,7 @@ class User < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def can_create_group?
|
||||
is_admin?
|
||||
can_create_project?
|
||||
end
|
||||
|
||||
def abilities
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue