Skip to content
  • Nick Thomas's avatar
    Enforce the fork_project permission in Projects::CreateService · b00b737517c0
    Nick Thomas authored
    Projects::ForkService delegates to this service almost entirely, but needed
    one small change so it would propagate create errors correctly.
    
    CreateService#execute needs significant refactoring; it is now right at the
    complexity limit set by Rubocop. I avoided doing so in this commit to keep the
    diff as small as possible.
    
    Several tests depend on the insecure behaviour of ForkService, so fi them up at
    the same time.
    b00b737517c0