#me access

Manage tree-access grants in the active space.

A grant attaches an access level to a principal (user, agent, service account, or group) at a tree path. Levels are additive and hierarchical — a grant at /share/work also covers everything below it:

Level Flag Capabilities
read r Search and retrieve memories at or below the path.
write w Read + create, update, move, and delete memories.
owner o Write + manage access (grant/revoke) within the subtree.

owner at the empty (root) path owns the whole space. Granting access requires owner on the path in question (an admin can self-grant owner@root). See Access Control.

These commands authenticate with your session and operate on the active space.

#Commands


#me access grant

Grant or update a principal's access at a tree path.

me access grant <principal> <path> <level>
Argument Required Description
principal yes Principal id or name (user email, agent name, service-account name, or group name).
path yes Tree path; use an empty string "" for the space root.
level yes Access level: r (read), w (write), or o (owner).
me access grant [email protected] /share/work r
me access grant backend /share/work/api w
me access grant [email protected] "" o          # owner@root — whole space

#me access rm-grant

Remove a principal's grant at a tree path.

me access rm-grant <principal> <path>
Argument Required Description
principal yes Principal id or name.
path yes Tree path of the grant to remove.

#me access list

List grants in the active space, optionally scoped to one principal and/or a path subtree. Alias: me access ls.

Listing the whole space or another principal's grants requires space admin or owner of the path being listed (an admin can self-grant owner@root). Listing your own grants (or an agent you own) is self-service; me access mine is a convenient shortcut.

Pass --effective to show the resolved access a member actually executes with instead of raw grant rows. Effective access includes direct grants, inherited group grants, service-account group grants, and agent grants clamped by the owner's access. --effective cannot be combined with --path.

me access list [principal] [--path <path>] [--effective]
Argument Required Description
principal no Filter to a single principal (id or name).
Option Description
--path <path> Only grants at or below this tree path.
--effective Show effective access instead of raw grants.

#me access mine

List the access grants you hold in the active space. Available to any member (no admin or path-owner rights required). Fresh service accounts may have no grants until one is explicitly added.

Pass --effective to show the paths you can actually read, write, or own after group inheritance and agent clamping are applied.

me access mine [--effective]
Option Description
--effective Show effective access instead of raw grants.

#See also

  • me group -- grant to a group so all members inherit access.
  • me space invite -- set a new member's shared-root access at invite time.