1
Attribute documents.create to an existing user (API parity with JSON import author-mapping)
Source: outline/outline#12963 · opened by @nickmeinhold
When creating documents through the API with an admin token on behalf of workspace members, the created document is always attributed to the token's owner. There's no way to set the author as far as I can tell. I noticed that the JSON importer has this for bulk import and would like to suggest we have the single-document API equivalent of that. I'd like to add an optional createdById to the documents.create request: • Admin-only, and the target user must be in the same team. • fails closed so an unknown or cross-team createdById is rejected rather than silently reassigned - the admin check runs before the user lookup, so the field can't be used to probe whether a user id exists. • documentCreator already parameterises createdById / lastModifiedById, so the route change would be small (the audit event still records the acting admin as the actor, keeping attribution honest and traceable). Does this approach sound reasonable, and would …
No pledges yet. Be the first to back this.
Comments
Similar requests
Feature request: API endpoint to import historical revisions
1 vote · 0 comments
Share whole nested documents/collections
7 votes · 0 comments
Allow Collection JSON Import via API
1 vote · 0 comments
API: Support creating anchored comments programmatically
3 votes · 0 comments
Import folders of Word documents
2 votes · 0 comments
No comments yet.