Skip to content
AskTable

Documentation feedback

Current pageFeishu channel user permissions/en/permissions/feishu

0 / 5,000

Your feedback will be sent to the maintenance team.

Go to console
Go to console
AskTable
Go to console

Members and permissions

Control data permissions for Feishu channel users

Use an allowlist and people profiles to control which data Feishu users can query.

After an agent enables the Feishu channel, by default every Feishu user who can reach the bot can ask, and answers use the agent's full data scope. To restrict this, turn on the allowlist, create people profiles for Feishu users, and authorize roles.

Feishu askers use a channel people identity: they do not inherit the data role of a web member with the same name and are not added to the project. Results that scheduled tasks send to Feishu are generated with the task owner's permissions and are not refiltered for recipients.

Prepare

  • The agent has the Feishu channel enabled. See Connect a Feishu bot.
  • The Feishu app has the contact:user.employee_id:readonly permission. The allowlist identifies users by user_id; without this permission, messages are rejected directly and do not enter pending approval.
  • The data roles to authorize are ready.
  • Turning on the allowlist and maintaining people and roles requires a project owner or project administrator.

Entry: open the agent → “Channels” → “People permissions”.

Steps

Turn on the allowlist

Turn on “Enable allowlist”. After that, only people on the allowlist can ask.

Create profiles for askers

With the allowlist on, unauthorized users' questions are rejected and go to “More” → “People” → “Pending approval”. Click “Create profile / Link”, then choose “Create people profile” (name, email, and phone are filled in automatically) or “Link to existing person”.

You can also create people in advance with “New person” under “People” and bind their Feishu accounts.

Authorize a role

After creating a profile, choose a role in the dialog that appears and click “Authorize”; or in the agent's “People permissions”, click “Add person” and choose the person and role. Fill in all required variables of the role.

Choosing no role means using the agent's full data scope, and the list marks it “No role means full access”.

Revoke

  • Revoke access to one agent: remove the authorization in that agent's “People permissions”.
  • Remove the person entirely: person details → “Danger zone” → “Delete person”; related bindings and authorizations are removed together. If they ask again, they go back to pending approval.

After authorization changes, the agent's Feishu sessions are rebuilt. Users who sent messages before the change only need to send another message to get answers with the new permissions.

Common issues

Message the user seesCauseAction
No permission; the request was submitted for administrator approvalNo people profile yetCreate a profile and authorize in “Pending approval”
Not authorized to access this AgentA profile exists but is not on this agent's allowlistAdd the person in “People permissions”
The Feishu app lacks contact:user.employee_id:readonlyThe app lacks permission and cannot identify the userGrant the permission on the Feishu Open Platform and publish a new version
The agent was deleted or is unavailableThe agent bound to the channel was deletedRebind or disable the channel
What the administrator seesCauseAction
Pending approval shows no contact informationFeishu did not return email or phoneGrant contact information permissions on the Feishu Open Platform and publish a new version
Everyone can ask after turning off the allowlistThis is the behavior with the allowlist offTurn on the allowlist and add people
No one can ask after turning on the allowlistThe allowlist is emptyAdd people