#1643  How do sub-projects under a parent project distinguish permissions
Closed
alan opened 6 months ago

It is very convenient to use the parent project to group the same kind of projects, but if you do not open the parent project permissions, you can not see the subproject, if you open the parent project permissions, the subproject permissions are invalid, and anyone can see all the projects.

alan changed fields 6 months ago
Name Previous Value Current Value
Type
Improvement
Support Request
Robin Shen commented 6 months ago

Actual permissions of a project is union of permissions from all sources, including those inherited from parent projects, and those assigned to it directly.

Make sure not to make parent project visible if you do not want to open all subprojects. Instead, make each subproject visible separately as necessary.

alan commented 6 months ago

From the usage point of view, if the parent project is not visible, then the child project is not visible, even if you set it visible.

Robin Shen commented 6 months ago

From the usage point of view, if the parent project is not visible, then the child project is not visible, even if you set it visible

Make child visible while hide parent is totally valid, for instance if parent is only for setting inheritance purpose.

alan commented 6 months ago

The only purpose is to make the project have a tree structure, when there are many projects, it looks more clear, if the parent project is not visible, it is not different from not using the parent project for me

alan commented 6 months ago

how to set invisible, it seems that you can only control permissions by setting User Authorizations of the parent project.

Robin Shen commented 6 months ago

Like mentioned before, you can make parent invisible, and set permission to make selected child projects visible to certain groups (or publicly).

If it does not work as expected, please tell me the detailed reproducing steps

alan commented 6 months ago

I already known how to do it , I made a mistake ,thanks

Robin Shen changed state to 'Closed' 5 months ago
Previous Value Current Value
Open
Closed
issue 1 of 1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
onedev/server#1643
Please wait...
Page is in error, reload to recover