Owner and HIDDEN regression?

47 views
Skip to first unread message

Åsmund Østvold

unread,
Apr 12, 2021, 7:07:09 AM4/12/21
to repo-discuss
Hi,

I wanted to hide a repo from developers. I am the owner of the repo. 

[access "refs/*"]
      owner = group user/Åsmund Østvold (asmundo)
      push = block group Registered Users

Then I do:

ssh -p 29418 asm...@review.resoptima.net gerrit set-project resoptima/simulation.manager  --project-state HIDDEN

After this the project is not listed for me on https://review.resoptima.net/admin/repos

The way I read the doc:
HIDDEN: the project is not visible for those who are not owners
I as an owner should still see the repo IIUC.

Gerrit version is 3.3.1

Is this expected or a regression? 
Let me know if I should create an issue.

Cheers,
Åsmund
PS:
Off topic but I do not get the opportunity to state it often to the community: Gerrit is FANTASTIC!  

Björn Pedersen

unread,
Apr 12, 2021, 8:01:23 AM4/12/21
to Repo and Gerrit Discussion
Hi,

I think the misconception here  are two different visibilities:

 1) visible in the project list (browse-> projects)
 This is controlled by the state and hidden projects are only visible for the owner and administrators
2) visibility in the frontend
hidden projects are never visible in the frontend 
if you want a project  to be visible in the frontend only for certain users you need to remove the 'Read' access right for all others.

Björn


Reply all
Reply to author
Forward
0 new messages