Closed Bug 1680149 Opened 3 years ago Closed 3 years ago

Make a read-only CardDAV address book possible

Categories

(MailNews Core :: Address Book, enhancement)

enhancement

Tracking

(thunderbird_esr78 fixed)

RESOLVED FIXED
85 Branch
Tracking Status
thunderbird_esr78 --- fixed

People

(Reporter: darktrojan, Assigned: darktrojan)

Details

Attachments

(1 file)

It should be possible to have a CardDAV directory that syncs with the server but doesn't allow the user to make changes. If the readOnly property returns true then the UI responds appropriately, but it should be enforced by the back end. And there's currently no way to make the readOnly property return true.

Read-only-ness is implemented in AddrBookDirectory, even though its a bit pointless to have a
read-only local directory. In the future, parts of this class will be split out into a base
class for other directory types, which may also need a read-only option.

Depends on D98400

Um, oops.

Summary: Make a read-only CardDAV calendar possible → Make a read-only CardDAV address book possible
Attachment #9190709 - Attachment description: Bug 1680149 - Make a read-only CardDAV calendar possible. r?mkmelin → Bug 1680149 - Make a read-only CardDAV address book possible. r?mkmelin

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/923f6d056a47
Make a read-only CardDAV address book possible. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch

Comment on attachment 9190709 [details]
Bug 1680149 - Make a read-only CardDAV address book possible. r?mkmelin

[Approval Request Comment]
User impact if declined: this is a nice-to-have, but quite a useful one for carddav
Testing completed (on c-c, etc.): in beta 85
Risk to taking this patch (and alternatives if risky): it does affect all address books but the user would have to go out of their way for it to cause a problem

Attachment #9190709 - Flags: approval-comm-esr78?

Comment on attachment 9190709 [details]
Bug 1680149 - Make a read-only CardDAV address book possible. r?mkmelin

[Triage Comment]
Approved for esr78

Attachment #9190709 - Flags: approval-comm-esr78? → approval-comm-esr78+

This patch does not apply cleanly on esr78 and the scope of the merge is beyond my comfort level. Can you re-spin for esr78? Thanks!

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: