Browse Source

fix: tarnsfer project authorize

tags/v3.1.5
yystopf 4 years ago
parent
commit
fbede59261
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/services/projects/apply_transfer_service.rb

+ 1
- 1
app/services/projects/apply_transfer_service.rb View File

@@ -30,7 +30,7 @@ class Projects::ApplyTransferService < ApplicationService

def is_permit_owner
return true unless @owner.is_a?(Organization)
return @owner.is_owner?(@user)
return @owner.is_admin?(@user)
end

def create_apply


Loading…
Cancel
Save