Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d2c6111b
Commit
d2c6111b
authored
Mar 28, 2018
by
James Ramsay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move group default project creation level to Starter
parent
4cb37a20
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
2 deletions
+13
-2
doc/user/group/index.md
doc/user/group/index.md
+3
-1
ee/app/models/license.rb
ee/app/models/license.rb
+1
-1
ee/changelogs/unreleased/jramsay-5457-create-project-permissions.yml
...gs/unreleased/jramsay-5457-create-project-permissions.yml
+5
-0
ee/spec/policies/group_policy_spec.rb
ee/spec/policies/group_policy_spec.rb
+4
-0
No files found.
doc/user/group/index.md
View file @
d2c6111b
...
...
@@ -154,7 +154,8 @@ There are two different ways to add a new project to a group:
### Default project creation level
> Introduced in [GitLab Premium](https://about.gitlab.com/products/) 10.5.
> [Introduced][ee-2534] in [GitLab Premium][ee] 10.5.
> Brought to [GitLab Starter][ee] in 10.7.
Group owners or administrators can set an option that will give users with the
Developer role the ability to create projects under groups.
...
...
@@ -316,3 +317,4 @@ you have an overview of the contributions (pushes, merge requests,
and issues) performed my your group members.
[
ee
]:
https://about.gitlab.com/products/
[
ee-2534
]:
https://gitlab.com/gitlab-org/gitlab-ee/issues/2534
ee/app/models/license.rb
View file @
d2c6111b
...
...
@@ -26,6 +26,7 @@ class License < ActiveRecord::Base
multiple_issue_assignees
multiple_project_issue_boards
push_rules
project_creation_level
protected_refs_for_users
related_issues
repository_mirrors
...
...
@@ -53,7 +54,6 @@ class License < ActiveRecord::Base
variable_environment_scope
reject_unsigned_commits
commit_committer_check
project_creation_level
external_authorization_service
ci_cd_projects
]
.
freeze
...
...
ee/changelogs/unreleased/jramsay-5457-create-project-permissions.yml
0 → 100644
View file @
d2c6111b
---
title
:
Move default group project creation level to Starter
merge_request
:
5148
author
:
type
:
other
ee/spec/policies/group_policy_spec.rb
View file @
d2c6111b
...
...
@@ -245,6 +245,10 @@ describe GroupPolicy do
end
context
'project_creation_level disabled'
do
before
do
stub_licensed_features
(
project_creation_level:
false
)
end
context
'when group has no project creation level set'
do
let
(
:group
)
{
create
(
:group
,
project_creation_level:
nil
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment