Do not add access sections as owned if only refs/meta/config is visible
Commit 58aced933c7f0188692f8abed3ccc189afeb7d67 made all access rights
in the web UI visible if a user can read the 'refs/meta/config' branch.
This is correct, but this commit also wrongly added each section as
owned by the user if 'refs/meta/config' is visible and the user did not
own the ref. This made the 'Save Changes' button after editing the
access rights visible even if direct changes to the access rights were
not possible.
Change-Id: Iebd62e10c9f98826c845b9ec00539a042070fcfc
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
1 file changed