documenso/packages/lib/utils
Catalin Pit baa2c51123
feat: add delegate document ownership option (#2272)
When using an API key created in a team context, the
documents/templates’ owner always defaults to the team API token
creator, rather than the actual uploader.

For example, John creates the API key for the team "Lawyers". Tom and
Maria use the API key to upload documents. All the uploaded documents
are attributed to John.

This makes it impossible to see who actually uploaded a document.

The new feature allows users to enable document ownership delegation
from the organization/team settings.
2025-12-23 22:08:54 +11:00
..
images refactor: extract image-helpers (#2261) 2025-12-09 09:19:49 +11:00
advanced-fields-helpers.ts feat: migrate nextjs to rr7 2025-02-13 14:10:38 +11:00
authenticator.ts feat: migrate nextjs to rr7 2025-02-13 14:10:38 +11:00
avatars.ts feat: migrate nextjs to rr7 2025-02-13 14:10:38 +11:00
billing.ts feat: add organisations (#1820) 2025-06-10 11:49:52 +10:00
debugger.ts fix: add sign up hook 2025-02-13 20:21:23 +11:00
document-audit-logs.ts feat: add delegate document ownership option (#2272) 2025-12-23 22:08:54 +11:00
document-auth.ts feat: add envelopes (#2025) 2025-10-14 21:56:36 +11:00
document.ts feat: polish envelopes (#2090) 2025-10-24 16:22:06 +11:00
email-domains.ts feat: add email domains (#1895) 2025-07-24 16:05:00 +10:00
env.ts fix: themes 2025-02-18 15:17:13 +11:00
envelope-download.ts fix: embed authoring permission issue (#2279) 2025-12-04 15:02:50 +11:00
envelope-signing.ts fix: envelope direct template (#2156) 2025-11-09 22:23:13 +11:00
envelope.ts fix: envelope cc issues (#2158) 2025-11-10 11:42:57 +11:00
fields.ts feat: add envelopes api (#2105) 2025-11-07 14:17:52 +11:00
format-folder-count.ts feat: add folders (#1711) 2025-05-02 02:46:59 +10:00
i18n.ts feat: add organisations (#1820) 2025-06-10 11:49:52 +10:00
is-admin.ts fix: cleanup env variables 2025-02-13 20:56:44 +11:00
is-valid-redirect-url.ts feat: i18n for emails (#1442) 2024-11-05 11:52:54 +11:00
is-valid-return-to.ts fix: embedded direct template recipient auth 2025-11-07 14:23:46 +11:00
logger.ts fix: add document page access logging (#1947) 2025-08-11 11:50:32 +10:00
mask-recipient-tokens-for-document.ts feat: add envelopes (#2025) 2025-10-14 21:56:36 +11:00
organisation-authentication-portal.ts feat: add organisation sso portal (#1946) 2025-09-09 17:14:07 +10:00
organisations-claims.ts feat: polish envelopes (#2090) 2025-10-24 16:22:06 +11:00
organisations.ts feat: add delegate document ownership option (#2272) 2025-12-23 22:08:54 +11:00
params.ts feat: migrate nextjs to rr7 2025-02-13 14:10:38 +11:00
public-profiles.ts feat: migrate nextjs to rr7 2025-02-13 14:10:38 +11:00
recipient-formatter.ts feat: migrate nextjs to rr7 2025-02-13 14:10:38 +11:00
recipients.ts feat: add empty emails for envelopes (#2267) 2025-12-06 13:38:10 +11:00
remember.ts feat: i18n for emails (#1442) 2024-11-05 11:52:54 +11:00
render-custom-email-template.ts fix: reverse meta relation and tidy code 2023-11-06 13:01:15 +11:00
render-email-with-i18n.tsx chore: dependency updates (#2229) 2025-11-22 20:28:20 +11:00
slugify.ts feat: automatically set public profile url for OIDC users (#1225) 2024-08-20 13:58:56 +10:00
team-global-settings-to-branding.ts feat: add organisations (#1820) 2025-06-10 11:49:52 +10:00
teams.ts feat: add delegate document ownership option (#2272) 2025-12-23 22:08:54 +11:00
templates.ts feat: add envelopes (#2025) 2025-10-14 21:56:36 +11:00
token-verification.ts feat: add teams (#848) 2024-02-06 16:16:10 +11:00