List ACL entries on a post
GET /posts/{id}/acls
Returns every ACL row attached to this post. ACL rows are additive grants on top of the post’s visibility and the role / team-scope checks.
Requires WRITE access to the post — author, posts.admin or
system.admin — not merely read access (#876). Who a post is
shared with, who granted it and when it expires is management
information about the post, not part of the post’s content:
being able to read something must not disclose the rest of its
guest list.
listCollectionAcls applies the same rule. It used to diverge
— it additionally admitted any authenticated caller when the
collection was public — and #933 closed that.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”ACL entries
object
BIGINT user.ref for principal_type=user; UUID for role/team. Stored as text so the polymorphic column fits all three.
Time-boxed grant. NULL = permanent. The handler-side check ignores rows whose expires_at < NOW().
Authentication required, missing, or invalid
object
Human-readable error summary
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Authenticated but missing required capabilities
object
Human-readable error summary
Example
the request could not be completedResource not found
object
Human-readable error summary
Example
the request could not be completed