[rfc][icedtea-web] Temporary permissions
aazores at redhat.com
Mon Mar 24 15:55:51 UTC 2014
This patch adds new menu items to the new popup menu where PolicyEditor
can be launched. These new items make it possible to run the current
applet sandboxed, but with some additional permissions added, without
having to actually launch PolicyEditor and configure the permissions.
These permissions are also temporary, as opposed to making a custom
policy, which persists until you remove the policy.
Right now the permission set defined is just the sum of the permissions
PolicyEditor can grant via its checkboxes, and the two options added are
No File Access and No Network Access, which are just that full set minus
a few. I'd appreciate input on what other temporary permission options
could be made available.
Anyone have ideas on making the popup menu disappear nicely, rather than
adding a setVisible call on it to every action listener we have? And I
suppose it should also be forced to disappear when the dialog is
disposed as well. What's the best practice for that?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 15147 bytes
Desc: not available
More information about the distro-pkg-dev