| gerrit set-project-parent |
| ========================= |
| gerrit set-project-parent - Change the project permissions are inherited from. |
| 'ssh' -p <port> <host> 'gerrit set-project-parent' \ |
| 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. |
| Caller must be a member of the privileged 'Administrators' group. |
| This command is intended to be used in scripts. |
| Name of the parent to inherit through. If not specified, |
| the parent is set back to the default `\-- All Projects \--`. |
| Configure `kernel/omap` to inherit permissions from `kernel/common`: |
| $ ssh -p 29418 review.example.com gerrit set-project-parent --parent kernel/common kernel/omap |
| * link:access-control.html[Access Controls] |
| Part of link:index.html[Gerrit Code Review] |