| 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] |