Add a private option for repository pages

Issue #15050 closed
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 (3)

  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.

    Bitbucket PM

  2. Alastair Wilkes staff

    Given the low interest in this feature since it was raised, and since the team is currently focused on higher priority items, I am closing this issue to reflect that we won't be able to address this in the near future.

  3. Log in to comment