Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I protect an specific file to be pushed or committed for one specific person of group?

jota
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 24, 2018

Hello team.

 

I'm trying in various ways, protect my Jenkinsfile from being edited, but without success, because if I protect it, nobody even the admin can edit it, and it would only be interesting if a certain group or people can not edit it, but the admins do. I have tried with different plugins and hooks but they limit it totally, both to the size and to the name, but not to groups or people too ..

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 26, 2018

 

Hi jota, welcome to the Community!

Wouldn't it be enough with restricting their access to the repo, like removing their permissions so they can not write on it? Or maybe you want them to still be able to edit the rest of the files?

As for now, Bitbucket doesn't include anything like that, I've done a quick search and I haven't been able to find any feature request for that, you're welcome to try your luck or submit your own at Site/master/.

Hope that helps :)

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events