Merge lp:~osomon/trust-store/whitelist-webbrowser-app into lp:trust-store

Proposed by Olivier Tilloy
Status: Needs review
Proposed branch: lp:~osomon/trust-store/whitelist-webbrowser-app
Merge into: lp:trust-store
Diff against target: 14 lines (+3/-1)
1 file modified
src/core/trust/daemon.cpp (+3/-1)
To merge this branch: bzr merge lp:~osomon/trust-store/whitelist-webbrowser-app
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Ubuntu Phablet Team Pending
Review via email: mp+273214@code.launchpad.net

Commit message

Add webbrowser-app to whitelist.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Unmerged revisions

133. By Olivier Tilloy

Add webbrowser-app to whitelist.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/core/trust/daemon.cpp'
2--- src/core/trust/daemon.cpp 2015-08-31 14:00:41 +0000
3+++ src/core/trust/daemon.cpp 2015-10-02 11:28:45 +0000
4@@ -371,7 +371,9 @@
5 {
6 static auto unconfined_predicate = core::trust::WhiteListingAgent::always_grant_for_unconfined();
7 const bool is_unconfined = unconfined_predicate(params);
8- return is_unconfined || ((not (dict.count("disable-whitelisting") > 0)) && params.application.id == "com.ubuntu.camera_camera");
9+ return is_unconfined || ((not (dict.count("disable-whitelisting") > 0)) &&
10+ (params.application.id == "com.ubuntu.camera_camera" ||
11+ params.application.id == "webbrowser-app"));
12 }, cached_agent);
13
14 auto formatting_agent = std::make_shared<core::trust::AppIdFormattingTrustAgent>(whitelisting_agent);

Subscribers

People subscribed via source and target branches