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
47ec307b
Commit
47ec307b
authored
Oct 14, 2020
by
Markus Koller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable group wikis by default
parent
049ae0ca
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
ee/app/policies/ee/group_policy.rb
ee/app/policies/ee/group_policy.rb
+1
-3
ee/changelogs/unreleased/207888-enable-group-wikis.yml
ee/changelogs/unreleased/207888-enable-group-wikis.yml
+5
-0
ee/config/feature_flags/licensed/group_wikis.yml
ee/config/feature_flags/licensed/group_wikis.yml
+1
-1
No files found.
ee/app/policies/ee/group_policy.rb
View file @
47ec307b
...
...
@@ -251,10 +251,8 @@ module EE
prevent
:update_default_branch_protection
end
# TODO: Switch to `feature_enabled?` when we enable the feature flag by default
# https://gitlab.com/gitlab-org/gitlab/-/issues/207888
desc
"Group has wiki disabled"
condition
(
:wiki_disabled
,
score:
32
)
{
!
@subject
.
beta_
feature_available?
(
:group_wikis
)
}
condition
(
:wiki_disabled
,
score:
32
)
{
!
@subject
.
feature_available?
(
:group_wikis
)
}
rule
{
wiki_disabled
}.
policy
do
prevent
(
*
create_read_update_admin_destroy
(
:wiki
))
...
...
ee/changelogs/unreleased/207888-enable-group-wikis.yml
0 → 100644
View file @
47ec307b
---
title
:
Add group-level wikis
merge_request
:
45144
author
:
type
:
added
ee/config/feature_flags/licensed/group_wikis.yml
View file @
47ec307b
...
...
@@ -4,4 +4,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/29176
rollout_issue_url
:
https://gitlab.com/gitlab-org/gitlab/-/issues/207888
group
:
group::knowledge
type
:
licensed
default_enabled
:
[
false
,
true
]
default_enabled
:
true
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