You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: organisation_policy.go
    path of file: ./repos/convoy/ee/api/policies
    
    the code of the file until where you have to start completion: package policies

import (
	"context"
	"errors"

	authz "github.com/Subomi/go-authz"
	basepolicy "github.com/frain-dev/convoy/api/policies"
	"github.com/fr
    
func (op *OrganisationPolicy) Manage(ctx context.Context, res interface{}) error {
	authCtx := ctx.Value(basepolicy.AuthUserCtx).(*auth.AuthenticatedUser)

	org, ok := res.(*datastore.Organisation)
	if !ok {
		return errors.New("Wrong organisation type")
	}

	// Dashboard Access or Personal Access Token

	user, ok := authCtx.User.(*datastore.User)
	if !ok {
		return basepolicy.ErrNotAllowed
	}

	member, err := op.OrganisationMemberRepo.FetchOrganisationMemberByUserID(ctx, user.UID, org.UID)
	if err != nil {
		return basepolicy.ErrNotAllowed
	}

	if isAllowed := isSuperAdmin(member); !isAllowed {
		return basepolicy.ErrNotAllowed
	}

	return nil
}