Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • G gitlab-ce
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedinexedi
  • gitlab-ce
  • Repository
  • gitlab-ce
  • spec
  • controllers
  • users_controller_spec.rb
Find file BlameHistoryPermalink
  • Rémy Coutable's avatar
    Merge branch '18028-respect-fork-project' into 'security' · 5af2bf0a
    Rémy Coutable authored Sep 28, 2016
    Enforce the fork_project permission in Projects::CreateService
    
    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.
    
    Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/18028
    
    
    
    See merge request !1996
    
    Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
    5af2bf0a
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7