Skip to main content
A Provider decides which of its users can open each record. A Google Drive file is shared with people, groups, and domains. A Linear issue belongs to a team, and the members of that team see it. A Coupa record is open to every active Coupa user. Source permissions keep those rules in your Workspace: when your Workspace turns them on, each person reads only the Provider rows that they could open in the Provider. The Provider Plugin declares the rules in three places:
  1. On the plugin: visibilityModel and an optional defaultAudience.
  2. On each Tap that carries access facts: access.roles, and an optional access.defaultAudience.
  3. On the fields of those Taps: the x-access* annotations.
After each sync, Parable reads these facts from the Provider’s rows and builds the Workspace’s access tables. A query then keeps only the rows that a reader can open. The declarations never change how a table is stored. They change which rows a reader gets, and only when the Workspace enforces source permissions. Parable maintains every Provider Plugin. Read the declarations on the plugin of a connection:
Look at connector.visibilityModel, connector.defaultAudience, and, for each Tap in connector.taps, access and the x-access* keys in schema. Tap schemas lists every other key on a Tap schema.

Tokens and anchors

Parable turns every access fact into tokens. A reader holds tokens. Each row is reached through an anchor that holds tokens. A reader can read a row when the reader and the row’s anchor share at least one token. Parable matches a reader to their accounts in a Provider by the email that the reader signs in with. The match goes through the identity tables, so a user principal gives tokens only when its Tap is an identity directory. Only an exact email or account ID match gives tokens. A link through x-transformExternalUserId gives none. An administrator can also link a member to an account that has another email. An anchor is the row whose tokens decide a table row: A root can anchor on another Tap’s row while its child table anchors on the root row. The access job then gives each root key the tokens of its parent row. So each child row reads as the parent row does, and the Tap needs no resources role for that (PARABLE-7599).

Table classes

Parable gives each Provider table one of three classes when it plans the table:
  1. Anchored. The Tap’s root has an x-accessParent field, the Tap has the resources role, or the table is a child table of an anchored table. Each row reads by the tokens of its anchor.
  2. Audience. The table is not anchored, and its Tap or its plugin declares defaultAudience. Every row is open to that audience.
  3. Not modeled. Every other table. Source permissions do not narrow it. Only Provider Policies decide who reads it, and a Provider Policy cannot choose source permissions for it.

The visibility model

visibilityModel says how the Provider decides who sees a record: visibilityModel describes the Provider. It does not decide a table’s class. The Tap and field declarations do. visibilityModel is a different field from permissionModel. permissionModel says what Parable’s own credential needs in order to read a Tap. See Required access. defaultAudience is optional. It is the audience of every Tap that has no anchor and no audience of its own: Coupa and Linear both declare defaultAudience: source_users. A Tap’s own access.defaultAudience replaces the plugin’s value for that Tap.

Tap roles

A Tap that carries access facts declares access.roles. A Tap can have more than one role:
A Linear team is both a principal and a resource. A Tap that only inherits access, such as Linear issues, needs no access object. Its x-accessParent field anchors it. A Tap whose root principal is a user is also an identity directory (identityDirectory: true), and its x-accessPrincipal field is its x-transformAccountId field. A reader reaches a Provider user only through identity matching.

Field annotations

Each annotation goes on the field that carries the fact. Access annotations and identity annotations are separate families, and one field can carry both. A directory user’s primaryEmail carries both x-transformPersonEmail and x-accessPrincipalRef. An older service treats kind: role on an owner and kind: any on a subject in three ways. An older parser refuses the value, so the catalog write fails. An older planner drops the annotation with no error, so the row admits nobody. An older reader of a stored layout refuses the layout, so the access job run, the query-layer catalog build, or the query-runner search build fails. Deploy web-admin-api, web-api, provider-transformations, query-layer, query-runner, research-worker, and every other service that links scalar-lib or the mapping planner before a catalog write uses either value. Do not roll those services back while a stored definition uses one (Deploy order). x-accessParent, x-accessResource, and x-accessMemberOf name a Tap of the same plugin, or the Tap itself. The value that they read must equal the merge key of the named Tap. idField says which property of a referenced object holds that value.

Examples

A user principal. Linear users:
false is a value. On active, it marks the row inactive when active is false. An inactive user holds no tokens.

Fail-closed flags

x-accessInactiveWhen, x-accessGuestWhen, and breakWhen name the values that take access away. A row whose field holds another value keeps its access. So a null value, an absent field, or a value form that the Tap does not expect keeps the row active, keeps the user a member, or keeps the inheritance. A Provider can leave a field out with no warning. HiBob does this when the service user has no View on the internal category. The allow-list forms name the values that give access, and every other value takes it away: Use the allow list for every new Tap. Put it on a direct field of the root table: accessAllowListUnread refuses it on an array or inside one, except x-accessActiveWhen inside an x-accessGrants array. The parser also refuses a null allow list. An allow list on an array is refused even when the plan keeps the array as one list column, because a list matches when any element matches. A HiBob employee is active only when internal.status is Active:
The two forms can share a field. A row is inactive when any deny-list field matches, or when any allow-list field does not. The readiness counts report, for each principals Tap, the rows that an allow-list field marked because its value was absent. The ACCESS job logs access.quality.principal_allow_list for a Tap with such rows, and for a Tap where every row is inactive or every user is a guest. Absent values point to a credential that cannot read the field. A whole Tap marked points to a value form that the list does not name, such as ACTIVE in place of Active. accessAllowListUnread also refuses an allow list on a Tap whose roles the ACCESS job does not read it for. x-accessMemberWhen belongs on the root of a principals Tap whose principal is a user. x-accessActiveWhen belongs on the root of a principals, memberships, or grants Tap, or inside an x-accessGrants array. It is refused on a root that gives grants on its own row through x-accessOwner, x-accessVisibility or x-accessGrants, on a principals Tap too. The ACCESS job gives those grants on an inactive row, so the flag would not gate them. Write an allow-list annotation to a catalog only after every reader of PARABLE-7909 is deployed. An older parser refuses the key, and an older ACCESS job ignores it. A rollback of provider-transformations to a release before PARABLE-7909 fails open. The older ACCESS job ignores the allow lists, so every row is active, every user is a member, and every row inherits. Keep the deny list on the same field until no such release can run, for example "x-accessInactiveWhen": "Inactive" beside "x-accessActiveWhen": "Active". The two forms combine, so the older job still denies the values it knows. A memberships Tap names the container and the member. Google group_members keys each row on the group and the member together:
A principals Tap can also name the containers of its own principal. A monday.com user lists its teams, so users.teams carries {"x-accessMemberOf": {"tap": "teams", "by": "id"}} on the array. The id of each element names a team that the row’s user belongs to. Microsoft 365 channel_members and team_members key each row on the container and the member’s userId with a syntheticPrimaryKey. A key on the opaque membership id does not cover the member, and the write rule accessEdgeKeyIncomplete refuses it. Membership is transitive. A member of a group that belongs to another group holds both group tokens, to a depth of 20.

Patterns

Each pattern below is in a Provider Plugin that Parable ships.

Each record carries its grants

A Google Drive file holds an array of permissions. x-accessGrants on the array makes each element a grant on the file. The fields of one element describe the grant:
Gong calls_extensive declares its parties array the same way. Each party’s userId carries x-accessSubject with {"by": "id", "kind": "user"}, so a party who is not a Gong user gives no grant. The call’s host, metaData.primaryUserId, carries x-accessOwner. When a Provider returns grants from a separate endpoint, they get their own grants Tap. Google shared_drive_file_permissions copies the file’s ID from the parent file and puts x-accessResource on it. Its synthetic key covers the file, the permission, and the subject, so each grant keeps its own row (other fields are not shown):
A grants Tap can also hold the grants of a container. Airtable base_collaborators reads the user and group collaborators of each base, from the base and from its workspace. Its baseId carries x-accessResource and x-accessParent on bases, so each grant row reads as its base does. A user row names its subject in email, and a group row in groupId. Each of the two fields carries x-accessSubject with its own kind, so the row needs no x-accessKind. The members of each group come from a memberships Tap, scim_group_members.

The Provider lists what each user can open

Some Providers answer, for one user, which records that user can open after every rule of their own. The plugin reads that answer instead of the rules. Tableau returns every workbook that a user owns or can view, with Deny rules, locked projects, owners and administrators already applied. Tableau user_workbooks reads that list for each licensed user. Each row gives its user a grant on the workbook, and its synthetic key covers the user and the workbook:
The Tap reads the whole list on each sync with deletionSemantics: by_absence, so a workbook that Tableau stops listing for a user closes to that user at the next sync. A Tableau view follows its workbook through x-accessParent.

Records inherit from a container

A Linear team is a principal that admits its own members. It is also a resource whose visibility Linear sets:
An issue inherits its team’s tokens through one annotation:
A Slack channel is a group principal that admits its own members, and its boolean is_private sets its audience. The map keys are the text of the boolean, and a null value gives no audience. Messages, replies and channel memberships inherit the channel through the channel_id that the traversal copies into them, so their child tables inherit it too:
Slack’s conversations.members returns a bare array of user IDs. The conversations_members Tap turns each ID into its own record ("responsePath": "members[*].{user_id: @}") and keys it on channel_id and user_id, so each row is one membership (Worked example: Slack). Inheritance is transitive. A row inherits what its parent row holds, inherited tokens included. When references form a cycle, the reference that closes the cycle gives nothing. A container can also carry its grants. A TestRail project has the resources role. Its users and groups arrays carry x-accessGrants, each element’s role carries x-accessLevel, and default_role carries x-accessVisibility, so No Access maps to grants_only. A principals Tap can name its memberships itself: x-accessMemberOf on the TestRail users.group_ids array makes each user a member of each group it lists, so no memberships Tap is needed. Suites and cases inherit their project through project_id, and a result inherits its test, which inherits its run. A container’s member list can be its grants. GitLab project_members reads /projects/:id/members/all, which lists inherited members too, one row for each project and user. The Tap has the roles principals and grants: each row is a user principal and a grant on its project, at the member’s role. Parable merges the rows of one user into one principal, and the principal is inactive when any of its rows is inactive:
projects has the resources role, and every Tap of a project’s records puts x-accessParent on its project_id. GitLab group_members grants groups the same way. A container can inherit too, and add grants of its own. A GitHub repository has the resources role. Its owner carries x-accessParent to the organization row, a role principal with grantsSelf whose members are the organization owners, and whose base permission is an audience. The team_repositories and repository_collaborators grants Taps add the repository’s teams and direct collaborators. Each repository record Tap puts x-accessParent on the repository_id that its traversal edge copies in:

Inheritance that a record turns off

A Google shared drive file inherits from its parent folder, unless the file turns inheritance off:
A board in monday.com inherits its workspace only when it is a main (public) board. inheritWhen names that kind, so a null kind, or a kind that monday.com adds later, stops inheritance. breakWhen stays on the same field for a rollback to an older ACCESS job, which ignores inheritWhen. breakWhen.equals takes a list, and each value of the list stops inheritance. A null workspace_id is the Main workspace, so whenAbsent gives such a board its audience (other fields are not shown):
A Microsoft Teams standard channel inherits its team, and a private or shared channel does not. inheritWhen names standard, so a null type, or a type that Microsoft adds later, stops inheritance. breakWhen stays on the same field for a rollback to an older ACCESS job, which ignores inheritWhen. breakWhen.equals takes a list, and each value of the list stops inheritance. The channel’s own members still read it through its grantsSelf principal:
When breakWhen holds, the row keeps only its own grants. Rows below it inherit only those grants. breakWhen.field is a top-level scalar field of the same row. When Parable cannot read the value, because it is null or the table does not have the column yet, the row inherits nothing and keeps only its own grants. A source can hide a record by a rule that the connector does not read, such as a Jira Cloud issue security level. Lift a boolean that says the rule applies onto the root with the tap’s responsePath, such as issues[*].merge(@, {has_security_level: fields.security != `null`}), declare it x-syntheticField, and name it in breakWhen. The expression writes true or false for every row, so a row never fails closed by accident. A secured issue then keeps only its own grants, which are none, and only All data access reads it. A Miro board inherits its team only while its team access is view, comment or edit. Miro nests that value under policy.sharingPolicy, so the boards Tap’s responsePath copies it to the root of each record with the JMESPath merge function. inheritWhen and breakWhen read the root field. inheritWhen makes a null or unknown value stop inheritance, and breakWhen stays for a rollback to an older ACCESS job:
A Dropbox shared folder inherits the members of its parent shared folder, unless a team admin restricts it. shared_folders puts inheritWhen on access_inheritance with equals: "inherit", and keeps breakWhen with equals: "no_inherit" next to it for an older ACCESS job. So a folder whose value is null, missing or other inherits nothing. Dropbox returns that field as a tagged value, {".tag": "no_inherit"}, and inheritWhen and breakWhen read a top-level scalar column. So the Tap’s responsePath keeps the tag as the field’s value: entries[].merge(@, {access_inheritance: access_inheritance.".tag"}). shared_folder_members keeps the tag of access_type the same way, for its x-accessLevel map. Each user and group member of a folder is a grant on the folder, and a files entry inherits the folder that holds it (PARABLE-7473).

A null reference with a meaning

A row whose x-accessParent reference is null inherits nothing. A Linear workspace label names no team, and every Linear member who is not a guest sees it. whenAbsent gives such a row its audience:
whenAbsent is source_users or anyone. A plugin uses it only where the Provider documents what a null reference means. It is not allowed on an array.

Only the owner reads the row

A mailbox is open to its owner. Google Gmail messages_list, threads, thread_messages, message_content, and message_attachments copy the mailbox’s primaryEmail from their parent and anchor each row on it:
With anchor, every row of one owner shares one anchor. An owner anchor has these conditions:
  • The Tap has the resources role.
  • The owner field is a plain column of the root table.
  • The owner is the only grant source of the row. The row has no other x-accessOwner, x-accessGrants, x-accessVisibility, grantsSelf principal, or x-accessParent.
  • Each child table carries the owner field through parentContextFields.
  • No other Tap names this Tap’s rows in x-accessResource or x-accessParent.
A row whose owner field is null has no anchor. Only people with All data access read it. Justworks paystubs, deductions and the three time off Taps anchor on member_id the same way, with by: id. Without anchor, the table anchors on its merge key, and each row holds its owner’s token. The Justworks member_* Taps key on member_id already, so they give an owner grant without anchor, and their child tables follow the root row. A principal row can also be its own owner. Justworks members.id carries both annotations, so each member row opens to that member only:
The members Tap then has the roles principals and resources. HiBob employee.id does the same (PARABLE-7477). Zoom user_calls anchors on source_user_id, which the edge from users copies from the parent user. Zoom meetings puts x-accessOwner on host_id without anchor, because participants names a meeting by its uuid through x-accessParent (Worked example: Zoom). The owner field can be a string or an integer. BambooHR employee_salaries and time_off_policies anchor on the injected employee_id, a string. timesheets and time_off_requests anchor on employeeId, an integer. Parable reads an anchor value as text, so 101 and "101" are one key, and the token user:101 of the directory row opens both. Vanta people and group_people anchor on userId, and monitored_computers on the owner’s email, so a person reads only their own personnel rows and computers. Microsoft 365 messages and calendar_events anchor on user_id, which the edges from users copy from the parent user, so the recipient and attendee child tables carry it too. Graph gives each mailbox’s copy of a message or event its own id, so each copy is its own row, and a person named in toRecipients or attendees reads only their own copy. sign_in_logs anchors on userId, and the three Purview Taps on userPrincipalName with by: email (Worked example: Microsoft 365). An owner can be a user or a group. Databricks Unity Catalog names the owner of a catalog, schema or table in owner: a user’s email or a group’s display name. owner carries x-accessOwner {by: email, kind: any}, and groups.displayName carries x-accessPrincipalRef {by: email}. Parable compares the normalized value and does not check that it is an email, so a group name works as a ref. A group owner opens the row to the group’s members, nested groups included (Worked example: Databricks).

The actor of an audit event

Google chrome_activity and gemini_activity put x-accessOwner on the nested actor.email, without anchor. Each event is open to its actor:
The table anchors on its merge key, and each row has the actor’s grant. Anaplan audit_events names its actor in the plain column userEmail, and also takes no anchor: it is a root Tap, so no traversal edge copies the owner into its child tables. Databricks audit_logs and query_history anchor on their actor’s email, user_email and executed_by, with anchor, because neither plans a child table. audit_logs.user_identity is a JSON string, which no annotation reads into, so the Tap’s SQL statement selects user_identity.email as its own column, user_email. Datadog audit_logs keeps the actor inside untyped JSON. Its responsePath copies the actor’s email to a root field, which carries x-accessOwner:

Owners in a list of objects

Lattice goals names its owners in owners.data, an array of user references below the root’s own level. Parable keeps such an array as one list column of objects. x-accessOwner on the array reads the owner from each element, and each element’s owner can read the row:
idField names the element property that holds the owner. Without it, Parable reads the element’s x-transformDedupKey property, else id. The write rule accessOwnerElementIdMissing refuses the Tap when the elements have no scalar property of that name. anchor is not allowed on an array. Only five annotations read a property of each element on an array of objects: x-accessOwner, x-accessParent, x-accessResource, x-accessMemberOf and x-accessManager. Any other access annotation, such as x-accessVisibility, reads the whole value, and the access job reads it as text. The write rule accessValueUnreadable refuses such an annotation on a value that has no text form, so that it cannot fail the Workspace’s ACCESS run. Put it on a scalar field or on an array of scalars. Write idField on an owner, or an owner on an array of objects, to a catalog only after web-admin-api and web-api hold PARABLE-7607. An older planner records the owner on the list column, and the Workspace’s ACCESS run then fails (Deploy order).

Managers read the rows of their reports

A person’s Parable Pulse activity is open to that person. Manager reads let the person’s direct manager read it too. Two declarations make this work, and the Workspace turns it on. The reporting line. A Provider that holds reporting lines declares each user’s direct manager with x-accessManager. It goes on one field of the root of a principals Tap whose principal is a user. The row’s own user is the report. The value names the manager by principal ID (by: id) or by an x-accessPrincipalRef email of the same Provider (by: email). Workday workers, Justworks members, Lattice users and HiBob employee name the manager by ID. HiBob’s work.manager is a field of a nested object that flattens into the root, so the annotation sits on the root column work__manager. HiBob returns the ID there only for machine values (humanReadable: APPEND); with REPLACE it returns a display name, which no join can read. Google users keeps managers in its relations array. On an array of objects, idField names the element’s manager field, and when keeps only the elements whose field equals the value:
A value gives a reporting line only when the manager is a user of the same Provider, both people are active, and the manager is not the report. The table that opts in. An owner-anchored table opts in with managers on its x-accessOwner. managers needs anchor and an owner of kind user. Pulse activity opts in:
Each row of such a table also carries the token managers:<owner token>. After each sync, Parable writes the managers: token of each direct report for each manager’s email to providers.access.manager_tokens. The Workspace setting. Manager reads are off by default. An administrator turns them on in Protection → Provider Policies, in the Source permissions card, with Managers read their direct reports’ Pulse activity. The administrator chooses the Provider whose reporting lines count, and confirms that the Workspace’s people were told that their manager can read their activity. From code, read the setting with GET /api/provider-policies/source-permissions (managerReads and managerReadSources), and change it with PUT /api/provider-policies/source-permissions/manager-reads:
A connectorId of null turns manager reads off. Parable refuses the change with WA-PP-016 when peopleTold is not true, with WA-PP-017 when the Provider is not one of managerReadSources, and with WA-PP-009 when the settings changed after expectedRevision. Agents cannot read or change the setting. What a manager reads. While manager reads are on, a manager holds the managers: tokens of their direct reports, so they read those people’s rows on each table that opts in. Only direct reports count: a manager’s manager reads nothing more. A row with no owner, such as a row from a Mac with no bound person, stays closed to every manager. Manager reads change rows only where source permissions decide them: while Enforce source permissions is on, or where a Provider Policy rule reads Source permissions on the table. Each read through a reporting line is logged with the manager, the table, and the number of direct reports. Manager reads explains the setting and the notice that each person sees.

Every user sees everything

Coupa has no rules for each record. Its plugin declares visibilityModel: source_users and defaultAudience: source_users. Its users Tap is the only Tap with access (roles: ["principals"]). Every active Coupa user who is not an API user holds source_users and reads every Coupa row.

A table that only All data access reads

Some tables can hold sensitive data, but the Provider gives Parable no fact that names a reader. A Workday HRIS RaaS custom report has the columns that each Workspace chooses, and it can hold pay. The plugin has no user directory, and no column names an owner. As a not-modeled table, it would read every row with enforcement on. To close it instead, give its Tap the resources role and no grant source:
The plugin keeps visibilityModel: not_modeled and declares no defaultAudience. The Tap needs only a merge key, and its fields carry no x-access* annotation. The table is anchored on its merge key, and its rows hold no token: An administrator opens the table to a role with a Provider Policy rule. A rule that reads Source permissions on the table gives no row, because no row holds a token. A Policy change applies at the next read, with no sync. Parable’s readiness counts report every key of the table as a key with no token. For this pattern, that count is by design and does not show a broken mapping. Use this pattern only when the Provider gives no fact that can name a reader. When a later change adds a user directory or an owner column, model the real rule instead. An owner column does not replace the pattern when owning a record does not give the right to read the whole row. A plugin that models its other Taps can close some Taps the same way, for example when the Provider’s API hides the roles that decide who sees a record. The resources role anchors the table, so the plugin’s defaultAudience does not open it. Examples of plugins that use this pattern:
  • Anaplan: the eleven model Taps, such as list_items, and the directory, workspace and CloudWorks Taps. Anaplan decides who sees a model’s content by model role and selective access, and its API returns neither. The plugin is container_acl, and its audit_events open to their actor.
  • Claude Admin: workspaces, workspace_members, invites, api_keys, usage_report, cost_report and claude_code_analytics. Anthropic shows most of them by Console role, and the plugin reads no role as a principal. The plugin is record_acl, and each user reads their own users row.
  • Databricks: the SCIM directory Taps users, groups, group_members and service_principals. The plugin is record_acl, and its other Taps grant owners, creators and actors.
  • Dropbox: team_log_events. The plugin is container_acl, and its other Taps follow shared folder members or the team member whose records they are.
  • Gong: the admin Taps permission_profiles, crm_integrations, crm_entities and meetings. The plugin is record_acl, and its other Taps carry grants.
  • Lucidchart: the admin Taps legal_holds, legal_hold_users, legal_hold_documents, subscriptions, subscription_licenses and root_folder_contents. The plugin is record_acl, and its documents and folders follow their user collaborators and their parent folder.
  • Oracle Fusion Cloud: the five audit_history_* Taps.
  • Slack Events: events.
  • Twingate: the eleven Admin Console Taps, such as remote_networks and service_account_keys. The plugin is record_acl, and its other Taps model the real rules.
  • Workday HRIS RaaS: custom_report.
  • Justworks: payrolls, payroll_fees, subscriptions, company_tax_ids, company_business_info and company_custom_fields. Justworks shows them only to admins and returns no admin role.
  • Vanta: users and the 46 Taps of the areas that Vanta opens by role, because the Vanta API returns no role. Its other Taps grant owners.
  • HiBob: position_budget, the workforce cost plan. HiBob opens it by permission group, and its API returns no group.
  • Airtable: the SCIM and enterprise Taps scim_users, scim_groups, scim_group_members and enterprise_users, which are Enterprise admin data. The plugin is container_acl, and its bases open to their collaborators.
  • Tableau: users, groups, group_users, user_workbooks, jobs, extract_refresh_tasks, schedules, flow_tasks and flow_runs. The plugin is record_acl, and its other Taps carry grants.
  • Datadog: the 35 Taps that Datadog opens only to its Admin role by default (billing, usage, organization and sign-in settings, OAuth authorizations) or that Data Access Control can narrow (logs, spans and other telemetry), and dashboards, notebooks and report_schedules until Parable reads restriction policies. The plugin is record_acl with defaultAudience: source_users, so every other Datadog Tap without an anchor reads at that audience.
  • Adobe Campaign Standard: profiles, services and service_subscriptions. Adobe opens each record to the users of its organizational unit and of the units above and below it. Its API returns no user, security group or unit.
  • Notion: all six Taps, pages, databases, database_items, blocks, comments and users. Notion’s API does not return the sharing rules that decide who can open a page. Its users Tap is a user directory, but creating a page or writing a comment does not give the right to read the whole row. So no Notion row holds a token. The plugin stays not_modeled.

What turns into a token

  • Levels. owner, write, comment, and read admit a reader in the same way. none, and a value that the x-accessLevel map does not name, give nothing. Without an x-accessLevel field, a grant is read.
  • Denies. Map a role to deny when the source uses it to keep a subject out of a record that a default or a group would open, such as TestRail’s No Access project role. A deny gives no token. It takes from the row, and from each row that inherits it, every source_users, anyone, and domain: token, the denied subject’s own token, and for a denied user, the tokens of the user’s groups, teams, and roles. A user grant to another subject stays. The row then admits fewer readers than the source does: everyone the default access admits, and the other members of a denied user’s groups, lose it unless their own grant names them. Parable records a deny_narrowed finding for each Tap whose rows lost a token. Map a role to none instead when the source does not let it override other access.
  • Kinds. A subject’s kind comes from the x-accessKind map, or else from the kind of its x-accessSubject. ignore, a value that the map does not name, or no kind gives no grant.
  • Subjects that match no principal. A grant to an ID or email that no principal Tap holds gives a token that no reader holds.
  • Inactive rows. An inactive principal gives no tokens, and its memberships count for nothing. An inactive grant or membership gives nothing.
  • Guests. A guest keeps their own user: token and their memberships. A guest gets no source_users and no domain: token.
  • Expiry. A grant stops admitting a reader when its x-accessExpiresAt time passes. A value that is not RFC 3339 never expires.
  • Link-only. x-accessDiscoverable affects only anyone and domain grants. A link-only grant admits its audience only when the Workspace turns on Link-only sharing admits its audience.
  • A resources Tap with no grant source is anchored, but its rows hold no token. Under enforcement only people with All data access, and the roles that a Provider Policy rule gives All rows or Rows where, read them. Slack Events events, Oracle Fusion Cloud’s five audit_history_* Taps, Workday HRIS RaaS custom_report, Justworks’ six payroll and company Taps and Gong’s four admin Taps are such Taps (A table that only All data access reads). So are Twingate’s Admin Console Taps, groups, group_users, and resource_access, HiBob position_budget, Dropbox team_log_events, and Lucidchart’s six admin Taps.
A principals Tap reads every account, inactive accounts included, so that an account that becomes inactive shows the new value at the next sync. A complete read also declares deletionSemantics: by_absence. Parable reads no deleted row.

The access tables

After each sync, Parable rebuilds the Workspace’s access tables in providers.access. Only people with All data access can query them, in SQL that names no Parable. For every other reader, a query that names them fails as an unknown table. The Provider Pool reference says more about who can read them.
A change of sharing in the Provider reaches reads in Parable after the Provider’s next sync.

Turn on enforcement

Source permissions are a Workspace choice. A Workspace turns them on in Protection → Provider Policies, in the Source permissions card:
  • Enforce source permissions narrows each anchored or audience table that no Provider Policy names.
  • A Provider Policy rule can read Source permissions on such a table for the roles that it names, whether or not the switch is on.
  • Link-only sharing admits its audience lets link-only grants admit their audience.
  • Managers read their direct reports’ Pulse activity turns on manager reads. See Managers read the rows of their reports.
Provider Policies explains the switches, how rules combine, and the card that shows what source permissions do for each member.

Custom Taps

A custom Tap reads one table of a customer’s database through the template Tap of a database Provider (Custom Taps on a database connection). The template Tap reads no table of its own. It declares the closed default {"roles": ["resources"]}, which a custom Tap with no access of its own plans with. The custom Tap carries its own access in config.access, with the same roles and defaultAudience as a Tap’s access. Access fails closed. A custom Tap created with no access stores {"roles": ["resources"]}. Its table follows A table that only All data access reads: only people with All data access read it until a Provider Policy opens it. A config write that leaves out access keeps the stored value. Create and update refuse an access with no role and no defaultAudience with WA-TCT-039, because such a value decides nothing and plans the table as not modeled. The planner also treats it as missing. To open a custom Tap’s table, set defaultAudience or write a Provider Policy. Only staff with admin.tenant.connectors.taps.custom set or change access. The access job does not read custom Taps yet. It still names tables by the connector slug, and a custom Tap serves under its connection’s Pool namespace. So a custom Tap on a template Tap is no access input. Its table follows the closed rule above: only All data access reads it until a Provider Policy opens it. When the Provider has no other access input, a reader whom source permissions bind gets QL-TN-009, not an empty table. This is the closed rule, not an outage. A follow-up issue makes the access job follow the Pool namespace.

What a reader sees

When source permissions apply to a table, every read follows them: SQL, Plots, Pages, and agents. A reader under source permissions gets fewer rows. The query does not fail and does not say which rows it left out. A person with no account in the Provider reads only the rows that are open to everyone. While manager reads are on, a manager also reads the rows of their direct reports on the tables that opt in. People with All data access read every row when they read a table themselves. Each such read is recorded in the Workspace’s audit events. When Parable has not built the access of a Provider yet, for example before its first sync, a read of a table under source permissions fails with QL-TN-009:
Parable never reads all rows in that case. Wait for the Provider’s next sync, or check the Freshness tab of the What source permissions do card.

Workspace overrides

Your Workspace keeps its own copy of each Tap schema, its outputSchema (Taps). The access annotations on that copy stay the plugin’s:
  • Send them unchanged. The copy holds the plugin’s x-access* values. A write that changes, adds, or removes an x-access* value fails with WA-TCT-035. The error details list the fields.
  • Do not exclude an annotated field. A write that sets x-exclude on a field that the plugin annotates fails with WA-TCT-021.
  • A later plugin change can annotate a field that you exclude. The plugin change succeeds, and your copy keeps both the exclude and the annotation. Parable cannot read the field, so it withholds the annotation. The table keeps its class but gives no tokens, so only people with All data access read its rows. The table never falls back to all rows. Remove the x-exclude to restore the plugin’s access. Until you do, Parable refuses other outputSchema changes on that copy with WA-TCT-021.
A change to an access declaration rewrites no stored data. Readers take access from the declarations and the access tables, not from the stored rows.