Commit 85bd253b authored by Steffen Knoth's avatar Steffen Knoth
Browse files

fix for project creation: group projects don't count towards user's project limit

parent b97094c78d21
......@@ -239,7 +239,7 @@
def check_limit
unless creator.can_create_project?
unless creator.can_create_project? or namespace.kind == 'group'
errors[:limit_reached] << ("Your project limit is #{creator.projects_limit} projects! Please contact your administrator to increase it")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment