As a follow-up to our previous discussion regarding branch creation permissions, we have submitted the required ACL update patch as advised:
Patch: https://review.opendev.org/c/openstack/project-config/+/952643
The patch has passed CI (Verified +1) and received Code-Review +1. It updates the ACL file to grant our release team (`heterogeneous-distributed-training-framework-release`) permission to create release branches, as documented here:
https://docs.opendev.org/opendev/infra-manual/latest/creators.html#creation-of-branches
Could someone from the infra or core team please help apply `Workflow +1` so the patch can be merged?
----邮件原文----
发件人:Clark Boylan <cboylan@sapwetik.org>
收件人:"田玉桐" <tianyutong@sd.chinamobile.com>,service-discuss <service-discuss@lists.opendev.org>
抄 送: "黄蕾" <huangleiyjy@chinamobile.com>,chenzhengwei <chenzhengwei@sd.chinamobile.com>,qihuiz93 <qihuiz93@163.com>
发送时间:2025-06-13 05:56:15
主题:Re: Authorization and Branch Creation in OpenDev Repo
On Wed, Jun 11, 2025, at 11:35 PM, 田玉桐 wrote:
> Dear OpenDev Community,
>
> I am Tianyutong from China Mobile, responsible for the project
> cfn/heterogeneous-distributed-training-framework. I encountered a
> permission issue while trying to create a new branch, and I need your
> assistance to resolve it.
> Issue Description
>
> When attempting to create a branch named "release_1.0.0" via the
> OpenDev web interface (following the official documentation), I
> received the following error:
> *An error occurred Error 403 (Forbidden): not permitted: create on
> refs/heads/release_1.0.0 Endpoint: /projects/*/branches/**
> The error screenshot is attached for reference.
> Request
>
> Could you please grant our team permission to create new branches in
> cfn/heterogeneous-distributed-training-framework? We need this
> privilege to manage version branches for our project.
> Thank you for your support!
To do this you need to edit your Gerrit project ACL file. That file is managed at this location [0] which is currently a minimal configuration that doesn't allow for branch creation [1]. You can update that file in [0] with additional ACL content to allow branch creation [2]. Once that is proposed as a change to the project-config repo we can review and land it and you'll be able to create branches as described in the documentation [3]
[0] https://opendev.org/openstack/project-config/src/branch/master/gerrit/acls/cfn/heterogeneous-distributed-training-framework.config
[1] https://docs.opendev.org/opendev/infra-manual/latest/creators.html#minimal-acl-file
[2] https://docs.opendev.org/opendev/infra-manual/latest/creators.html#creation-of-branches
[3] https://docs.opendev.org/opendev/infra-manual/latest/drivers.html#branches
>
> Best regards,
>
> Tianyutong
> tianyutong@sd.chinamobile.com
>
>
>> ----邮件原文----
>> *发件人:*"赵奇慧" <zhaoqihui@chinamobile.com>
>> *收件人:*fungi <fungi@yuggoth.org>
>> *抄 送: *"黄蕾" <huangleiyjy@chinamobile.com>,tianyutong <tianyutong@sd.chinamobile.com>,chenzhengwei <chenzhengwei@sd.chinamobile.com>,qihuiz93 <qihuiz93@163.com>
>> *发送时间:*2025-06-12 09:32:52
>> *主题:*Re:Re: Authorization and Branch Creation in OpenDev Repo
>>
>> Hi Jeremy,
>>
>> Thank you so much for your kind help and advice. We'll try with the link.
>>
>> Best,
>> Qihui
>> ---------------------------------------
>> 赵奇慧
>> 中国移动通信研究院 网络所
>> 手机:13810659120
>> 邮箱:zhaoqihui@chinamobile.com
>>
>> ----邮件原文---- 发件人:fungi 收件人:"赵奇慧" 抄 送: "黄蕾" ,tianyutong ,chenzhengwei ,qihuiz93 发送时间:2025-06-11 20:50:29 主题:Re: Authorization and Branch Creation in OpenDev Repo On 2025-06-11 17:18:48 +0800 (+0800), 赵奇慧 wrote: > This is Qihui Zhao from China Mobile and OIF CFN WG. We write this > email to ask about how to get management and branch creation > authorization on repo > cfn/heterogeneous-distributed-training-framework. [...] I believe the documentation you're looking for is here: https://docs.opendev.org/opendev/infra-manual/latest/drivers.html#branches In the future, I recommend asking questions on the service-discuss@lists.opendev.org mailing list or in the #opendev channel on the OFTC IRC network, since there are many people in both places who could answer and I'm often not available due to other obligations. Hope that helps! -- Jeremy Stanley Subject:Re: Authorization and Branch Creation in OpenDev Repo On 2025-06-11 17:18:48 +0800 (+0800), 赵奇慧 wrote: > This is Qihui Zhao from China Mobile and OIF CFN WG. We write this > email to ask about how to get management and branch creation > authorization on repo > cfn/heterogeneous-distributed-training-framework. [...] I believe the documentation you're looking for is here: https://docs.opendev.org/opendev/infra-manual/latest/drivers.html#branches In the future, I recommend asking questions on the service-discuss@lists.opendev.org mailing list or in the #opendev channel on the OFTC IRC network, since there are many people in both places who could answer and I'm often not available due to other obligations. Hope that helps! -- Jeremy Stanley
Subject:Re: Authorization and Branch Creation in OpenDev Repo
On Wed, Jun 11, 2025, at 11:35 PM, 田玉桐 wrote:
> Dear OpenDev Community,
>
> I am Tianyutong from China Mobile, responsible for the project
> cfn/heterogeneous-distributed-training-framework. I encountered a
> permission issue while trying to create a new branch, and I need your
> assistance to resolve it.
> Issue Description
>
> When attempting to create a branch named "release_1.0.0" via the
> OpenDev web interface (following the official documentation), I
> received the following error:
> *An error occurred Error 403 (Forbidden): not permitted: create on
> refs/heads/release_1.0.0 Endpoint: /projects/*/branches/**
> The error screenshot is attached for reference.
> Request
>
> Could you please grant our team permission to create new branches in
> cfn/heterogeneous-distributed-training-framework? We need this
> privilege to manage version branches for our project.
> Thank you for your support!
To do this you need to edit your Gerrit project ACL file. That file is managed at this location [0] which is currently a minimal configuration that doesn't allow for branch creation [1]. You can update that file in [0] with additional ACL content to allow branch creation [2]. Once that is proposed as a change to the project-config repo we can review and land it and you'll be able to create branches as described in the documentation [3]
[0] https://opendev.org/openstack/project-config/src/branch/master/gerrit/acls/cfn/heterogeneous-distributed-training-framework.config
[1] https://docs.opendev.org/opendev/infra-manual/latest/creators.html#minimal-acl-file
[2] https://docs.opendev.org/opendev/infra-manual/latest/creators.html#creation-of-branches
[3] https://docs.opendev.org/opendev/infra-manual/latest/drivers.html#branches
>
> Best regards,
>
> Tianyutong
> tianyutong@sd.chinamobile.com
>
>
>> ----邮件原文----
>> *发件人:*"赵奇慧" <zhaoqihui@chinamobile.com>
>> *收件人:*fungi <fungi@yuggoth.org>
>> *抄 送: *"黄蕾" <huangleiyjy@chinamobile.com>,tianyutong <tianyutong@sd.chinamobile.com>,chenzhengwei <chenzhengwei@sd.chinamobile.com>,qihuiz93 <qihuiz93@163.com>
>> *发送时间:*2025-06-12 09:32:52
>> *主题:*Re:Re: Authorization and Branch Creation in OpenDev Repo
>>
>> Hi Jeremy,
>>
>> Thank you so much for your kind help and advice. We'll try with the link.
>>
>> Best,
>> Qihui
>> ---------------------------------------
>> 赵奇慧
>> 中国移动通信研究院 网络所
>> 手机:13810659120
>> 邮箱:zhaoqihui@chinamobile.com
>>
>> ----邮件原文---- 发件人:fungi 收件人:"赵奇慧" 抄 送: "黄蕾" ,tianyutong ,chenzhengwei ,qihuiz93 发送时间:2025-06-11 20:50:29 主题:Re: Authorization and Branch Creation in OpenDev Repo On 2025-06-11 17:18:48 +0800 (+0800), 赵奇慧 wrote: > This is Qihui Zhao from China Mobile and OIF CFN WG. We write this > email to ask about how to get management and branch creation > authorization on repo > cfn/heterogeneous-distributed-training-framework. [...] I believe the documentation you're looking for is here: https://docs.opendev.org/opendev/infra-manual/latest/drivers.html#branches In the future, I recommend asking questions on the service-discuss@lists.opendev.org mailing list or in the #opendev channel on the OFTC IRC network, since there are many people in both places who could answer and I'm often not available due to other obligations. Hope that helps! -- Jeremy Stanley Subject:Re: Authorization and Branch Creation in OpenDev Repo On 2025-06-11 17:18:48 +0800 (+0800), 赵奇慧 wrote: > This is Qihui Zhao from China Mobile and OIF CFN WG. We write this > email to ask about how to get management and branch creation > authorization on repo > cfn/heterogeneous-distributed-training-framework. [...] I believe the documentation you're looking for is here: https://docs.opendev.org/opendev/infra-manual/latest/drivers.html#branches In the future, I recommend asking questions on the service-discuss@lists.opendev.org mailing list or in the #opendev channel on the OFTC IRC network, since there are many people in both places who could answer and I'm often not available due to other obligations. Hope that helps! -- Jeremy Stanley