Skip to content

[Bug]: Shared calendars lose visibility of share state after logout #257

Description

@dvex1091

Description

When a calendar is shared with another user or group in Bulwark, the share is correctly created and reflected in the UI: the recipients appear in the share dialog and can be modified, and a "shared" indicator icon is displayed next to the calendar.

However, after logging out of Bulwark and logging back in, the UI no longer reflects that the calendar is shared:

  • The "shared" icon next to the calendar is gone.
  • Reopening the share dialog shows the calendar as not shared with anyone.
  • As a result, existing shares can no longer be viewed or modified through the UI.

The share itself is still active on the backend — Stalwart confirms that the calendar remains shared with the original users/groups. The issue therefore appears to be purely a client/UI state problem: Bulwark fails to load or display existing share information on session start, leaving users unable to manage shares they previously created.

Steps to Reproduce

  1. Log in to Bulwark as User A.
  2. Open the calendar view and select a calendar owned by User A.
  3. Share the calendar with User B (or with a group).
  4. Confirm that:
  • User B / the group appears in the share dialog and is editable.
  • The "shared" icon is displayed next to the calendar in the calendar list.
  1. Log out of Bulwark.
  2. Log back in as User A.
  3. Observe the calendar list and reopen the share dialog for the same calendar.

Expected Behavior

  • The "shared" icon is still displayed next to the calendar.
  • The share dialog still lists User B / the group, matching the state shown in Stalwart.
  • Existing shares can be viewed and modified.

Actual Behavior

  • The "shared" icon is no longer shown.
  • The share dialog reports the calendar as not shared with anyone.
  • Existing shares cannot be managed from the Bulwark UI, even though Stalwart confirms the share is still active.

Bulwark Version

1.6.2

Stalwart Mail Server Version

0.16.4

Browser

No response

Operating System

None

Screenshots / Screen Recording

No response

Relevant Logs or Error Output

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions