Roles and permissions

Role flags, what each one unlocks, and which operations check them.

Access comes from boolean flags on the Role list. A User has one role. The first user created at /dashboard/init gets an Admin role with every flag. Manage roles at /dashboard/roles (needs canManageRoles).

There is no manager override flag. Each flag stands alone, so an Admin role must list every one.

Flags

FlagUsed for
canAccessDashboardSign in to the dashboard
canSeeOtherPeople, canEditOtherPeople, canManagePeople, canManageRolesUsers and roles
canManageOnboardingSetup operations
canManageToursTours, ticket types, add-ons, meeting points, cancellation policies, pricing rules
canManageDeparturesSchedules, generateDepartures, resizeDeparture, cancelDeparture, closeDeparture, sweepDepartures, tasks
canManageBookingsThe Bookings screen, createChannelBooking, notification preferences
canManageGuidesGuides, certifications, availability, payouts, assignGuide, respondToAssignment
canManageResourcesResources and assignResource
canManageChannelsChannels and generateChannelStatement
canCheckInToday, Calendar, Check-in, manifest, checkInParticipant, markNoShow, participants, signatures
canReadMedicalNotesReading participant medical notes
canManagePromosPromo codes and redemptions
canManageWaiversWaiver templates
canManagePayments, canReadPaymentsPayment providers, payments, refunds, webhook events (read)
canIssueRefundsrefundBooking, requestRefundApproval, approveRefund, and the approval list
canReadAuditThe audit event list

canManageSettings edits operator settings. canManageCustomers lets a role read users who are customers; editing them still needs canEditOtherPeople.

Onboarding roles

Setup creates three roles:

RoleFlags
Operations ManagercanAccessDashboard, canManageTours, canManageDepartures, canManageBookings, canManageGuides, canManageResources, canManageChannels, canManagePromos, canManageWaivers, canManageCustomers, canManageSettings, canCheckIn, canReadMedicalNotes, canReadPayments, canIssueRefunds, canReadAudit
GuidecanAccessDashboard, canCheckIn, canReadMedicalNotes
Customernone

Payment setup, gift cards, payout and statement settlement, and role management are not in the manager role. Add canManagePayments to the role of anyone who handles that money. A refund above the threshold still needs a second manager with canIssueRefunds.

Checks run on the server

Every custom operation that changes data checks the flag in the resolver. The dashboard requires canAccessDashboard to sign in. Each platform page is gated: when the list behind it is hidden for the session, the page returns 404, the same rule the sidebar uses.

Public operations (toursOnSale, tourAvailability, createDepartureHold, startBookingCheckout, completeBookingCheckout, lookupBooking, cancelMyBooking, signWaiver, waiverForToken, checkoutHold, rebookWithCredit, operatorName, bookingRefExists, giftCardBalance, joinWaitlist, and the manage-link and waitlist-link operations) need no sign-in. They are protected by proof, described in the GraphQL API.

Refund approval

A refund above refundApprovalThresholdCents needs a ManagerApproval made by one user and approved by another. The approval is tied to the booking, the amount, and the reason, and expires after 15 minutes. It is used up in the same transaction that reserves the refund.

On this page