Sharing your code and collaborating with other people is what  is all about. Bitbucket makes it easy by providing a simple yet powerful access control system. You can choose whether your repository is private or public. Using Bitbucket's Access Control Lists (ACLs), you can specify the read and write access to your repository.

Read more about Bitbucket permissions.