Interface MembershipTraitConfig

MembershipTrait config.

Hierarchy

Properties

allowMultipleRoles?: boolean
baseName?: string

Parent source node type (if any).

defaultMembershipType: string
fullAccessUser: {
    roles: string[];
    traversal: string[];
}

Gremlin traversals and user roles to define full access users Full access user can perform any operation

Type declaration

  • roles: string[]
  • traversal: string[]

Invitations config.

invitee_types?: string[]

A list of entity types which could be invited, defaults to User.

invites_accepted_automatically?: boolean
membershipTypes: Record<string, MembershipType>
name: string

Source node type.

passive?: boolean

Passive membership type disables mutations as well as invitations.

remove_mutations?: boolean

Roles configuration override.

searchRelationship?: string

Which search relationship, defined on member entities, should be used to find entities that are members of this particular group (used for search- based connections)

type: "membership"

Trait type ID.

userConnections?: boolean

Generated using TypeDoc