New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Permissions API #2427
Comments
Thanks for the feedback RendijsSmukulis! We've added this as a scenario on our backlog! |
It's definitely not supported or even advisable to make any changes to these files, but it seems that the "media_stream_camera": {
"https://webcamtests.com:443,*": {
"expiration": "0",
"last_modified": "13298647470739859",
"model": 0,
"setting": 1
}
},
"media_stream_mic": {}, |
Hi @RendijsSmukulis, Can you describe the scenarios you are trying to light up by managing site permissions? Thanks, |
|
Hi @RendijsSmukulis, Thank you for your reply. Other follow up questions:
Thank you |
|
Hi @q71114, Do you want to be able to permissions for any site at any given time? E.g. be able to change permissions for a site even though you're not on that site? Thanks, |
Hi @nishitha-burman, Yes, we want the option to change the permission for any site at any given time although the scope for this is limited.
We only want to do this when clearing allowed / rejected permission so next time the permission request is raised again for this site. |
Hi @q71114, Can you describe the end user scenario where you would do this? Thank you, |
Hi @nishitha-burman, We offer option to clear all data for specific domains. When selected all user data will be cleared for those domains including any permissions previously allowed / rejected by the user. |
I also have a similar request. e.g. when using This doesn't trigger the permissions request, would be great to have a way to programmatically accept it. |
Hi @CoenraadS, Is there an Edge (edge://settings/content) or web permission you are referring to that you would like to see triggered in this scenario? |
Actually I found another issue already for similar to this bug I mentioned: #1039 Mainly just want the user to interact with the filesystem api, without having to click through the security popup boxes the browser shows. I'm not sure if chrome/edge exposes something for this, which is why I thought perhaps the permissions event would provide some solution. I made a new issue here: #3121 |
Hi all, we added some experimental Permission Management APIs in the new prerelease package, 1.0.1619-prerelease.
You can read more here: https://github.com/MicrosoftEdge/WebView2Feedback/blob/main/specs/PermissionManagement.md. Please try these out and let us know if you run into any issues! Steps for testing upcoming APIs/ features: https://learn.microsoft.com/en-us/microsoft-edge/webview2/how-to/set-preview-channel. |
Hi @vickiez, I can confirm that we can achieve what @RendijsSmukulis requested using the SavesInProfile property on PermissionRequestedEventArgs. Thanks for adding these APIs. What is your timeline for having them in the stable release? |
Thanks for confirming @q71114. The APIs will be stable in next month's prerelease package, and then they will become part of the 111 release package that is tentatively scheduled for 3/9/23 |
Hi all, the extended permission APIs are available in the latest release package, 1.0.1661.34. Closing this issue as completed but feel free to reactivate if needed. Thanks! |
There's currently no way to list or manage site permissions (e.g. geolocation, camera, microphone) apart from handling the PermissionsRequested event.
To create meaningful indicators of permissions for the users we'd need to:
There's a couple ways this can be enabled:
AB#39482825
The text was updated successfully, but these errors were encountered: