Add augmentable `PermissionNameMap`
Thanks for the PR!
This section of the codebase is owned by @saschanaz - if they write a comment saying "LGTM" then it will be merged.
Interesting approach. Do you have any specific permission in mind you want to enable through this, BTW?
Interesting approach.
I've seen other *Map types here and I thought that this was a somewhat established pattern here. But perhaps those other types had a different purpose after all 😅
Do you have any specific permission in mind you want to enable through this, BTW?
A friend of mine was trying to augment the related functions with 'clipboard-write' | 'clipboard-read'.
I've seen other
*Maptypes here and I thought that this was a somewhat established pattern here. But perhaps those other types had a different purpose after all 😅
The key difference is that this one is not really a map but a list, while others are actual maps. Maybe rename?
A friend of mine was trying to augment the related functions with 'clipboard-write' | 'clipboard-read'.
In most cases you don't need those permissions, since user interaction e.g. mouse click and key push will automatically grant those permission for a short time (which is called transient user activation).