mirror of https://github.com/go-gitea/gitea.git
fix: replace all ctx.Org.IsOwner with proper IsOwnedBy method
The APIOrganization type doesn't have an IsOwner field. All ownership checks must use ctx.Org.Organization.IsOwnedBy(ctx, ctx.Doer.ID) to properly verify organizational ownership in API context. Signed-off-by: SBALAVIGNESH123 <balavignesh449@gmail.com>pull/36113/head
parent
5ef7c05005
commit
e491cebc1c
Loading…
Reference in New Issue