brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.54k stars 2.27k forks source link

Some permissions can't be added manually in `brave://settings/content` #21530

Open edmundlaugasson opened 2 years ago

edmundlaugasson commented 2 years ago

Description

Currently we can see at brave://settings/content/all about site permissions. Would like to add permanent site permission. Quite often subdomain is changing, but main domain is same. Especially this applies to web conferencing, webinar, etc apps. This also applies to:

Steps to Reproduce

  1. start certain web service, that generates subdomains and asks permissions every time, e.g. BigBlueButton or similar web conferencing, video, webinar, etc service. One example is https://blindsidenetworks.com/ - these subdomains mean often different datacenters.
  2. under brave://settings/content/all there will be lots of entries with permissons
  3. every time you join with new subdomain

Actual result:

Every subdomain has its own entry, hundreds or thousands of entries per one domain... Lot's of wasted storage space on disk. Cannot add, edit entries manually.

Expected result:

There is only one entry per domain, that can be added, changed, deleted manually, if needed. Also when automatically adding - ask in dialog window, whether to permit specific subdomain only or main domain. Later would Brave detect automatically, whether domain exist already under permissions and won't ask again, if already exist. Also if added accidentally subdomain, editing that would be appreciated. E.g. instead of sub.domain.com there could be added *.domain.com

Reproduces how often:

Every time reproducible!

Desktop Brave version:

Brave   1.36.109 Chromium: 99.0.4844.51 (Official build) (64-bit) 
Revision    d537ec02474b5afe23684e7963d538896c63ac77-refs/branch-heads/4844@{#875}
OS  Linux
JavaScript  V8 9.9.115.8
User Agent  Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36
Command /usr/lib/brave-bin/brave --enable-crashpad --disable-client-side-phishing-detection --disable-domain-reliability --enable-dom-distiller --no-pings --component-updater=url-source=https://go-updater.brave.com/extensions --origin-trial-public-key=bYUKPJoPnCxeNvu72j4EmPuK7tr1PAC7SHh8ld9Mw3E=,fMS4mpO6buLQ/QMd+zJmxzty/VQ6B1EUZqoCU04zoRU= --sync-url=https://sync-v2.brave.com/v2 --lso-url=https://no-thanks.invalid --variations-server-url=https://variations.brave.com/seed --variations-insecure-server-url=https://variations.brave.com/seed --flag-switches-begin --enable-features=ScrollableTabStrip --flag-switches-end
Path    /usr/lib/brave-bin/brave
Profile /home/user/.config/BraveSoftware/Brave-Browser/Default
Variations  AdRewardsStudy:NextPaymentDay
BraveDebounceStudy:Enabled
ConversionsStudy:NewDefaultPattern
Default1pBlockingStudy:Disabled
EphemeralStorageStudy:Enabled
ExtendedVariationsSafeMode4:Default4
ForceDisableBlinkFeatures:Enabled
NativeCosmeticFilteringStudy:Enabled
NavigationThreadingOptimizationsCompat:Disabled
PartitionBlinkMemoryCacheStudy:Enabled
PartitionConnectionsByNetworkIsolationKeyStudy:Enabled
PermissionLifetimeReleaseStudy:Enabled
RequestAdsEnabledApiStudy:Enabled
SpeedreaderReleaseStudy:Enabled
TabScrolling:AboutFlags

Android Device details:

Version/Channel Information:

Other Additional Information:

Miscellaneous Information:

Same applies also in Chromium:

bsclifton commented 2 years ago

Visiting brave://settings/content it looks like you can't manually add entries/wildcards for these types:

The rest have an Add button and allow wildcarding. It looks like some of the above DO support wildcards via group policy... there might not be a UI though. Not an exhaustive list, but a few links which have more information