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
f8dc769d
Commit
f8dc769d
authored
Aug 23, 2019
by
Patrick Bajao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc: Add info about update/delete restriction
parent
bcb340c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
doc/api/merge_request_approvals.md
doc/api/merge_request_approvals.md
+7
-1
No files found.
doc/api/merge_request_approvals.md
View file @
f8dc769d
...
...
@@ -704,7 +704,7 @@ POST /projects/:id/merge_requests/:merge_request_iid/approval_rules
|
`users`
| integer | no | The ids of users as approvers |
|
`groups`
| integer | no | The ids of groups as approvers |
**Important:**
W
H
en
`approval_project_rule_id`
is set, the
`name`
,
`users`
and
**Important:**
W
h
en
`approval_project_rule_id`
is set, the
`name`
,
`users`
and
`groups`
of project-level rule will be copied. The
`approvals_required`
specified
will be used.
...
...
@@ -777,6 +777,9 @@ PUT /projects/:id/merge_request/:merge_request_iid/approval_rules/:approval_rule
**Important:**
Approvers and groups not in the
`users`
/
`groups`
param will be
**removed**
**Important:**
Updating a
`report_approver`
or
`code_owner`
rule is not allowed.
These are system generated rules.
**Parameters:**
| Attribute | Type | Required | Description |
...
...
@@ -856,6 +859,9 @@ You can delete merge request approval rules using the following endpoint:
DELETE /projects/:id/merge_requests/:merge_request_iid/approval_rules/:approval_rule_id
```
**Important:**
Deleting a
`report_approver`
or
`code_owner`
rule is not allowed.
These are system generated rules.
**Parameters:**
| Attribute | Type | Required | Description |
...
...
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