[Feature Request] Enhancing Group Management (OD-2328)
lordran opened 10 months ago

As of now, we created a user with read-only permissions just for cicd, to achieve the goal, we should authorize all parent projects to it's group with the role "Code Reader", if there is a new project, we need to manually authorize the project to the group. Can we create a group that will authorize all projects including new projects in the future?

  • jbauer commented 10 months ago

    If you have a user or group and add an authorized project to them then all child projects will also be authorized. That is why I usually group projects below a common parent project (with code management disabled) and then only authorize that parent project, e.g.

    company-name
    |-- dev
        |-- apps
            |-- app1
        |-- libs
            |--lib1
    |-- sales
        |-- marketing-campaigns
    
    

    If you authorize company-name the user/group has access to everything. If you only authorize apps then everything below apps is accessible.

  • lordran commented 10 months ago

    @jbauer Indeed, it's a way.But I don't know the design of OneDev before, so I created many parent projects.All projects have been linked to cicd system, it will be a lot of work to do if change these project's repo url.

  • Robin Shen commented 10 months ago

    As suggested by @jbauer, this is the only way to get new projects being authorized.

  • Robin Shen changed state to 'Closed' 10 months ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
New Feature
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
OD-2328
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover