How to restrict .onedev-buildspec.yml file? (OD-2405)
Sagar Bud opened 8 months ago

Hello @robin,

Is there any way to restrict .onedev-buildspec.yml file? I want to give specific users to edit it? I have set branch protection but is there any way there is only restrict .onedev-buildspec.yml file.

Thanks

  • Robin Shen commented 8 months ago

    Check file protections under branch protection

  • Robin Shen changed state to 'Closed' 8 months ago
    Previous Value Current Value
    Open
    Closed
  • Sagar Bud commented 8 months ago

    Hello @robin

    Thank you for your response.

    I have tested your suggestion and it is working. Is there any way to set is globally like Project level not child project level?

  • Sagar Bud changed state to 'Open' 8 months ago
    Previous Value Current Value
    Closed
    Open
  • Robin Shen commented 8 months ago

    No global option for this. You may configure this for a root project, and all child projects under that root project will inherit this setting automatically.

  • Robin Shen changed state to 'Closed' 8 months ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2405
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover