Skip to main content
On this page

Kater CLI Share and administer access

kater access

Shares what you own, and asks for access to what you cannot open.

It changes the same grants as the share dialogs in Kater, and sends the same request that Ask for access sends, through Kater’s API, as you. A local copy has no access control of its own. See Files and access.

Commands

CommandWhat it does
kater access showWho has access to a file or folder, and where it comes from.
kater access grantGive a member, group or Everyone an access level.
kater access revokeRemove a grant given on this path. Inherited access is changed on the folder it comes from.
kater access transferMake another member the owner of an object.
kater access restrictStop a folder inheriting its parent’s access.
kater access inheritLet a restricted folder inherit its parent’s access again.
kater access askAsk the people who can share a thing for access to it. They are told in their inbox, and kater inbox shows the answer. Asking again changes nothing, and asking for more raises the request that waits.
kater access requestsThe requests for access that wait for your answer. An Admin reads every one, and anyone else the requests for what they manage.
kater access answerShare a thing with the person who asked for it, with the right to run its queries, or decline. An answer made once stays.
kater access withdrawTake back a request of yours that waits.

It also takes the global options anywhere on the line, and --help.

Who can change access

To see or change the access of a path, you need the Manager level on it, or the access:administer permission. For any other path, the commands say that the path is not found. Organisation admins keep full access to everything, and no grant removes it.

The levels

LevelWhat it allows
viewerCan view.
editorCan edit.
managerCan edit and share.

A folder passes its grants to everything in it, unless a folder below it is restricted. The CLI does not give Execute only. Use the share dialog in Kater for it.

Only grants give access

An email address, a folder name or the name of a role gives no access to content. Only a grant does. There is no file policy to fall back on.

Where a request goes

A request goes to whoever can share the thing: its owner, a Manager, else an Admin. Each gets one message in their Kater inbox, and the person who asked reads the answer in theirs (kater inbox lists it). A refusal that says you are not shared a thing names kater access ask and its path in its Next line.

Where it runs

In your own terminal, and in your agent: the Kater MCP’s kater tool shows who has access and reads the requests, and its kater_apply tool changes access after you say yes.

Examples

Terminal window
# See who can open the ad_reporting workspace
kater access show connections/snowflake_prod_connection/workspaces/ad_reporting
# Let everyone in the organisation view it
kater access grant connections/snowflake_prod_connection/workspaces/ad_reporting --level viewer --everyone
# Ask the people who can share the ad_reporting workspace, and say why
kater access ask connections/snowflake_prod_connection/workspaces/ad_reporting --message "I need the country split."
# Read the requests that wait for your answer
kater access requests
# Share it with the person who asked, as a Viewer
kater access answer 0f3c5a7e-1b2d-4c6e-9a8b-7d5e4f3a2b1c share --level viewer

See also