This commit is contained in:
Simone Gotti 2019-05-12 23:19:56 +02:00
parent 8e70c6b1b9
commit 4c35c88b32
1 changed files with 1 additions and 3 deletions

View File

@ -139,9 +139,7 @@ func (h *ActionHandler) IsProjectMember(ctx context.Context, ownerType types.Con
if userOrg.Organization.ID != ownerID { if userOrg.Organization.ID != ownerID {
continue continue
} }
if userOrg.Role == types.MemberRoleMember { return true, nil
return true, nil
}
} }
} }