You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi to all,
Is it possible to add a member to a project but with limited view over the entire project?
The user could only have access and work in particular parts of the project without the possibility to download the entire code of the full project.
I can't find any articles on the subject.
Thank you in advance.
Hi Vasco,
Thanks for reaching out to Atlassian Community, my name is Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet with you!
Unfortunately what you would like to achieve is not possible with project permissions. What I would like to suggest you is to provide users access on a repository level.
For example, user A has access to repo a,b,c,d
user B has access to repo a,b,c
etc.
Please let me know if this helps.
Best Regards,
Norbert
Atlassian Bitbucket Cloud Support
Thank you for the help,
Meaning the repo a,b,c,d would be parallel brunches with only parts of the project?
And then I could copy over manually the code that is important and merge it with the main.
If this is the case, is not the most elegant solution but it might work.
best regards
Vasco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your reply. I believe I might have misunderstood you.
I would like to verify whether by project do you mean a repository where you upload the code or do you mean a Bitbucket Cloud Project?
Please let me know.
Best Regards,
Norbert
Atlassian Bitbucket Cloud Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Norbert,
I mean a project ongoing in Bitbucket repository.
Based on Configure a project's branching model I can give access to "feature" branch but the programer working on that branch has access and can download the entire code of the project right?
This is for me a security issue since I need a developer to work only in some features.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Vasco Martins,
Please allow me to step in as Norbert is out of office.
If a user has been granted access to a repository, they can clone/download the whole repository, there is no way to restrict that.
Branch permissions can prevent users from pushing to certain branches, however, they will still be able to clone the whole repository.
You can look into using Git Submodules:
Let's say you have repo A, with the code that only you can access.
You can create repo B, and make it a submodule of repo A. Repo B will also have only part of your code, and you can grant access to a developer only to repo B.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Theodora Boudale
Thank you for the information, I was imagining that would be the solution.
Now the issue is selecting the right information to share and how to import it back to the main full development branch.
Best regards
Vasco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.