'Used by acl.check_ownership to see if request.user has permissions for
the addon.'

def check_ownership(self, request, require_owner, require_author, ignore_disabled, admin):

    if require_author:
        require_owner = False
        ignore_disabled = True
        admin = False
    return acl.check_addon_ownership(request, self, admin=admin, viewer=(not require_owner), ignore_disabled=ignore_disabled)
