is the private repository flag really necessary?

Issue #184 new
domruf created an issue

Is there a difference between a private repository and a repository where the default permission is None?

If there is no difference I think we should get rid of it.

A 'special' flag implies that it has 'special' consequences. But if there is nothing 'special' except the lock symbol then it should be removed.

Comments (2)

  1. Mads Kiilerich

    A private repository is one where default doesn't have and can't be assigned access.

    Yes, it is redundant, but it is also a safety mechanism that can be convenient.

    The whole 'default' user concept is very confusing. That should first be cleaned up / clarified.

    We carry patches where 'default access' is described as 'public', and it is also only possible for global admin users to set the 'private' flag false. That is also not an elegant solution so I haven't upstreamed it.

    TL;DR: I agree there is a problem but am not sure what the solution should be.

  2. Log in to comment