One-time permissions in Chrome - Chrome Developers

"Allow this time" is a one-time option for permission grants in Chrome. It will initially be available on desktop only for geolocation, camera, and microphone.

Chrome Developers
@developers Did this get reflected in the Permissions API? If not, we need to fix that.
@slightlyoff @developers Do you exposing the temp nature of the grant via navigator.permissions.query(), having navigator.permissions.request() also trigger this UI, or something else?
@dotproto @developers Both. It should be possible to request a one-time grant and/or grants with limited time windows
@slightlyoff @dotproto @developers The site is asking for a sensitive resource, so it's only appropriate that it can gracefully handle any instance of non-availability. This is honestly one spot where native platforms are way ahead of the Web, because they defaulted to temporary permissions years ago—including removing permissions from apps that haven't been launched for a while. Native app developers handled all of that just fine, and users are all the better for it. There's no reason that the Web ecosystem can't do the same.
@jschuh @dotproto @developers : native didn't do "temporary permissions", it went with "permissions that expire behind your back" which, I agree, is much better. And we should have that too. I'm frustrated we got stuck in a bad place because Privacy Sandbox's good ideas got warped into a futile errand.
@slightlyoff @jschuh @developers temporary grants as described in the original article feel to me like "permissions that expire behind your back," but with the grand timespan bound to the duration of your session. Maybe extensions are biasing me, but my first impression was to associate this behavior with activeTab grants. As a quick reminder, activeTab grants are bound to a tab and only last as long as the user continues to navigate on the granted origin