Skip to content
OrganizationStaffObject

A staff member belonging to an organization. Effective permissions come from the assigned role (legacy rows without a role fall back to a stored bitmask). A role's child-business permissions govern what the member may do inside each child business — no businessStaff row is materialized for that inheritance.

Fields

idID!
organizationOrganization!
userUser

Linked user account, or null for invite-only entries without login access.

nameString!
emailString
permissionsInt!

Effective (expanded) bitmask of OrganizationPermission flags, resolved through the assigned role (or the legacy stored bitmask for pre-role rows).

Assigned permission role, or null for legacy rows that still resolve from their stored bitmask (and for members with no capabilities).

isAdminBoolean!
canViewAllReportsBoolean!
createdAtDateTime!

Used in

OrganizationStaff