summaryrefslogtreecommitdiffstats
path: root/Documentation/cmd-set-project-parent.txt
blob: 699d76ff124ce5f6078490763fabf08abe848d0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
gerrit set-project-parent
=========================

NAME
----
gerrit set-project-parent - Change the project permissions are inherited from.

SYNOPSIS
--------
[verse]
'ssh' -p <port> <host> 'gerrit set-project-parent' \
[\--parent <NAME>] \
<NAME> ...

DESCRIPTION
-----------
Changes the project that permissions are inherited through.
Every project inherits permissions from another project, by
default this is `\-- All Projects \--`.  This command sets
the project to inherit through another one.

ACCESS
------
Caller must be a member of the privileged 'Administrators' group.

SCRIPTING
---------
This command is intended to be used in scripts.

OPTIONS
-------
\--parent::
	Name of the parent to inherit through.	If not specified,
	the parent is set back to the default `\-- All Projects \--`.

EXAMPLES
--------
Configure `kernel/omap` to inherit permissions from `kernel/common`:

====
	$ ssh -p 29418 review.example.com gerrit set-project-parent --parent kernel/common kernel/omap
====

SEE ALSO
--------

* link:access-control.html[Access Controls]

GERRIT
------
Part of link:index.html[Gerrit Code Review]