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
d3863d93
Commit
d3863d93
authored
Dec 14, 2020
by
Vladimír Brodský
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update doc/administration/troubleshooting/gitlab_rails_cheat_sheet.md
parent
cc0bc406
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
doc/administration/troubleshooting/gitlab_rails_cheat_sheet.md
...dministration/troubleshooting/gitlab_rails_cheat_sheet.md
+11
-0
No files found.
doc/administration/troubleshooting/gitlab_rails_cheat_sheet.md
View file @
d3863d93
...
...
@@ -578,6 +578,17 @@ group = Group.find_by_path_or_name('group-name')
group
.
project_creation_level
=
0
```
### Modify group - disable 2FA requirement
WARNING:
When disabling the 2FA Requirement on a subgroup, the whole parent group (including all subgroups) is affected by this change.
```
ruby
group
=
Group
.
find_by_path_or_name
(
'group-name'
)
group
.
require_two_factor_authentication
=
false
group
.
save
```
## SCIM
### Fixing bad SCIM identities
...
...
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