Hide source tab

Hello, I need to hide the source tab where the code is displayed for certain user invited on the repo, is this possible?

1 answer

0 votes

Hi Mario! If they have read access, they'll be able to see the source. Even if you hid it, they'll be able to see it when they download the code. Were you referring to something else?

Best regards,

Ana 

Hello Ana,

"If they have read access, they'll be able to see the source. "

so I guess it's not possible prevent that specific users see the code? I'm asking this 'cause inside my repo some user have access to the code (dev), and other users are just insider test, so they need only to notify problems on the issue tracker.

But I guess it's not possible hide the source tab; I need to open another repo only for issue tracking, right?

 

Hi Mario! Unless your Issue tracker is completely public, your users will be able to see the code. 

If you set the issue tracker to 'Private', it will only be visible to people with repository access. Having repository access means they'll be able to see the source.

 

If you set it to 'Public', anybody will be able to view, create, and comment on issues, although they won't be able to see the repo itself.
Alternatively, as you said, you can create a separate repo where you can handle your test users separately and have the issue tracker there, this would be my personal choice.
Hope that helps!
Ana

Thanks for the answer. Hide the source to specific users of private repo will be great for future features.

I agree :) If you'd like you could submit your idea as a Feature request in our public issue tracker.

Have a nice day!

Ana

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

688 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot