An error occurred fetching the project authors.
  1. 25 Aug, 2017 1 commit
    • Nick Thomas's avatar
      Move sidekiq-based project authorization refresh out of Projects::CreateService · 8b73df0c
      Nick Thomas authored
      If the project is in a group, the `group.refresh_members_authorized_projects`
      is made non-blocking, and we call `current_user.refresh_authorized_projects`
      directly.
      
      Projects in a personal namespace are more difficult. Rather than passing the
      `blocking:` parameter through the entire `add_master` chain, have the
      `AuthorizedProjectsWorker` automatically inline authorizations for three IDs or
      less. Since the maximum number of IDs in this path is 2, that has the same effect.
      8b73df0c