mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
fix: tarnsfer project authorize
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user