Closed Bug 882911 Opened 11 years ago Closed 6 years ago

Contacts: implement "secret" contacts that can only be seen by certified apps

Categories

(Core Graveyard :: DOM: Contacts, defect, P5)

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: reuben, Unassigned)

Details

(Whiteboard: [fixed-in-birch][leave open])

Attachments

(2 files, 2 obsolete files)

We need this (at least) for Facebook contacts, since their TOS doesn't allow sharing the contacts with other apps.
We use this to check if the requesting app is a certified app in the parent.
Attachment #762310 - Flags: review?(bugs)
Attached patch 2 - Contacts bits (obsolete) — Splinter Review
Attachment #762312 - Flags: review?(anygregor)
Attached patch 2 - Contacts bits, v2 (obsolete) — Splinter Review
Handle secrecy for getAll, getCount, and contactchange events.
Attachment #762312 - Attachment is obsolete: true
Attachment #762312 - Flags: review?(anygregor)
Attachment #762364 - Flags: review?(anygregor)
Comment on attachment 762310 [details] [diff] [review]
1 - Add nsIProcessChecker.checkAppStatus

what is aStatus passed to checkAppHasStatus? Please improve the comment to
tell what the status is about.

Hmm, does xpidl really convert that parameter to const unsigned short aStatus?
const looks rather useless.

> ContentParent::CheckAppHasStatus(const unsigned short aStatus) {
{ goes to the next line. Same with some other methods too.
Attachment #762310 - Flags: review?(bugs)
Attachment #762310 - Flags: review?(anygregor)
Attachment #762310 - Flags: review+
Some more background:
1 - contact information MUST NOT be exposed to other apps, e.g.
It should not be available through the Contacts API
2 - Users should not be able to modify contacts. We can cache locally
to improve performance but you cannot modify that information.
3 - A service should be allowed to sync/update the information.
https://hg.mozilla.org/projects/birch/rev/dbce265e3af7
Whiteboard: [fixed-in-birch][leave open]
Attachment #762310 - Flags: review?(anygregor)
Includes the read-only part.
Attachment #762364 - Attachment is obsolete: true
Attachment #762364 - Flags: review?(anygregor)
Attachment #769373 - Flags: review?(anygregor)
Attachment #769373 - Flags: review?(anygregor)
Assignee: reuben.bmo → nobody
Component: DOM: Device Interfaces → DOM: Contacts
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
DOM: Contacts isn't used anymore. 
Closing all remaining bugs.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: