[rfc][icedtea-web] Temporary Permissions as check boxes

Lukasz Dracz ldracz at redhat.com
Fri May 30 20:44:30 UTC 2014


Hello,

I have changed the Temporary Permissions menu items into check box menu items, and changed up the behaviour to take this into account. Adding the set of permissions happens when a check box is selected and removed when not, to a new temporary Permissions collection. When the user is satisfied with the selection of temporary permissions they have chosen, they press sandbox which is when the new temporary Permissions collection gets applied like the old way.
A planned future patch is to restructure the temporary permissions into categories and presets that would make better sense under this check box concept.

Changelog:
2014-05-30  Lukasz Dracz  <ldracz at redhat.com>

        Changed Temporary Permissions from menu items to check box menu items
        * netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissionsButton.java
        (TemporaryPermissionsListener.actionPerformed): Added behaviour to add
        or remove permissions from a new collection of permissions based on
        whether the item is checked or not
        (TemporaryPermissionsButton.TemporaryPermissionsButton): Added action
        listener and applied the new collection of permissions for when the
        sandbox button is pressed


Thank you,
Lukasz Dracz


More information about the distro-pkg-dev mailing list