Make project setting visible to everyone who can see the project
237073a9b00a048a482d7bd426800b292da02538 introduced a REST API endpoint
to get the project configuration. As a first step the inheritable
booleans stored in the project config were only made visible to users
who can see refs/meta/config.
But the project settings should be visible to everyone who can see the
project so that this information can be displayed on the
ProjectInfoScreen. Read access to refs/meta/config should not be
required as this exposes all permissions defined on this project. On the
other side possible contributors should know whether this project
requires signing a contributor agreement or whether Change-Ids must be
used. It is not useful to hide this information.
Change-Id: I37a3e304743721adaf3e8a6b753184fba397d896
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
2 files changed