fix: tarnsfer project authorize

This commit is contained in:
yystopf 2021-08-25 17:15:13 +08:00
parent f03182c771
commit fbede59261
1 changed files with 1 additions and 1 deletions

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