Skip to content

feat(calendar-agenda): add contacts:read permission for birthday calendar support - #35

Closed
tobiasge wants to merge 1 commit into
bulwarkmail:mainfrom
tobiasge:feat/calendar-agenda-birthdays
Closed

tobiasge wants to merge 1 commit into
bulwarkmail:mainfrom
tobiasge:feat/calendar-agenda-birthdays

Conversation

@tobiasge

@tobiasge tobiasge commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Requests the contacts:read permission in the calendar-agenda manifest to display contact birthdays from Bulwark's virtual birthday calendar (__birthday-calendar__).

Under bulwarkmail/webmail#1479, virtual birthday events and the birthday calendar exposed via api.calendar require the calling plugin to hold contacts:read in addition to calendar:read for privacy protection.

Changes

  • Permissions: Added "contacts:read" to calendar-agenda/manifest.json.
  • Version Bump: Bumped version to 1.5.0 across manifest.json, package.json, and package-lock.json.
  • Bundle & Docs: Rebuilt calendar-agenda.zip, updated CHANGELOG.md, and updated permission descriptions in calendar-agenda/README.md and root README.md.
  • Tests: Added unit test coverage in calendar-agenda/test/agenda.test.mjs asserting that the contacts:read permission is declared and that birthday events with the birthday calendar color are rendered correctly.

Testing

  • npx vitest run calendar-agenda passed (84/84 tests).
  • node scripts/check.mjs calendar-agenda passed cleanly.
  • node scripts/build.mjs --check calendar-agenda passed cleanly (zip is in sync).

…ndar support

- Request contacts:read permission in manifest.json to allow reading the virtual contact birthday calendar and events from the host calendar API
- Bump calendar-agenda version to 1.5.0
- Add unit test for birthday event rendering with configured birthday calendar color
- Update documentation and changelog
- Rebuild calendar-agenda.zip bundle
@tobiasge

tobiasge commented Nov 3, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #36

@tobiasge tobiasge closed this Nov 3, 2026
@tobiasge
tobiasge deleted the feat/calendar-agenda-birthdays branch November 10, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant