•  
      story #9634 Restrict Gerrit server by project
    Summary
    Tuleap administrator
    Restrict Gerrit server by project
    While migrating a Git repository to Gerrit, only the available Gerrit servers are displayed and can be chosen.
    • Siteadmin can choose by project the Gerrit servers available
      • When restriction is enabled, all projects that already have at least a git repo migrated on the given server are automatically added to the granted list.
    • The migration must takes into account this restriction
    • Siteadmin can remove the restriction
    • Siteadmin cannot remove a granted project that already have at least one git repository migrated on the given server.
      • Someone has to update repositories delegation (remove from gerrit) before being able to remove from "allowed projets"
    • Update REST routes
      • Check update route REST PATCH git/{id}
      • Add a new parameter in Get /gerrit
        • without parameter we can see only non restricted gerrit servers
        • with a allowed_for_project_id parameter, returns, non restricted gerrit servers and allowed gerrit servers for given project

     

    Empty
    Empty
    Status
    Done
    Development
    • [x] Does it involves User Interface? 
    • [ ] Are there any mockups?
    • [x] Are permissions checked?
    • [ ] Does it need Javascript development?
    • [x] Does it need a forge upgrade bucket?
    • [ ] Does it need to execute things in system events?
    • [ ] Does it impact project creation (templates)?
    • [ ] Is it exploratory?
    Empty
    Details
    #9634
    Yannis ROSSETTO (rossettoy)
    2017-02-15 16:58
    2016-11-08 09:52
    4307

    References

    Follow-ups