New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 738757 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug
Team-Security-UX



Sign in to add a comment

Android site settings does not display the right permission values for patterns that the user has entered

Project Member Reported by raymes@chromium.org, Jul 3 2017

Issue description

When populating the per-permission view of exceptions (e.g. Site Settings > Microphone) the wrong values may show up for patterns that are listed in this view. This is because it is currently querying the PermissionManager::GetPermissionStatus to determine these values, but this API only accepts origins and not patterns. 

Most permissions on Android can't generally be set for patterns (e.g. there is no way to enter patterns for microphone, no enterprise policy, etc.) but there are odd cases where it can happen (see, e.g. issue 738377). And it's extremely error-prone.

Android site-settings code would benefit from some refactoring. 
 
One concrete case that would potentially be broken right now would be when an enterprise-policy is set for notification settings using a pattern (e.g. *://google.com)

Comment 2 by est...@chromium.org, Nov 10 2017

Labels: Hotlist-EnamelAndFriendsFixIt

Comment 3 by est...@chromium.org, Feb 18 2018

Labels: -Hotlist-EnamelAndFriendsFixIt

Sign in to add a comment