Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Restrict permissions to a particular file in my repository

Manasa
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!
June 5, 2018

Hi,

   I want my main file that is the body of the repository, not to be accessed for writing purpose to the other members of the team, how will i be able to do that?

Regards

1 comment

Caterina Curti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 16, 2018

Hi @Manasa,

While it is possible to specify permissions on the repository to control who can write and read the source code, it is not possible to set permissions on a particular file.

 

Permissions can also be set on branches to protect them from pushing or merging without a pull request. Merge checks are also available to make sure that pull requests satisfy the expected checks before being merged.

 

Would it be enough to specify the repository and branch permissions for your use case?

Could you clarify how this repository is structured and what is the "main file / body of the repository?

 

Cheers,

Caterina - Atlassian

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events