forked from Gitlink/forgeplus
fix: tarnsfer project authorize
This commit is contained in:
parent
f03182c771
commit
fbede59261
|
@ -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…
Reference in New Issue