Add a private option for repository pages

Issue #15050 open
Jorin Vermeulen
created an issue

Currently the repository pages are always public, which doesn't really make sense.

In our project for example, we'd like to generate a JavaDoc for the documentation, this however, always is HTML output and thus cannot be used on the Wiki.

Since the project is private, we cannot put it on the pages right now either as the whole world who know the url would be able to view the documentation.

It would make sense to be able to configure pages to be private, where the server would first check if the person who is trying to view the page is logged in, and if so, if he has the permissions to view the repository. This shouldn't be that hard to implement either as you could just create a wrapper for this, or use http headers for (token-based) authentication. (Just throwing some ideas)

Comments (2)

  1. Alastair Wilkes staff
    • changed status to open

    Hi Jorin,

    Thanks for your feedback! Pages (especially on a per-repo basis) aren't at the top of the priority list at the moment - we are currently quite focused on improving code review and CI/CD in Bitbucket - but this request is reasonable, so we'll go ahead and open this.

    Alastair
    Bitbucket PM

  2. Log in to comment