public void apply ( PermissionSet < PermissionType > permissionSet ) throws GuacamoleException { // Add any added permissions if ( ! addedPermissions . isEmpty ( ) ) permissionSet . addPermissions ( addedPermissions ) ; // Remove any removed permissions if ( ! removedPermissions . isEmpty ( ) ) permissionSet . removePermissions ( removedPermissions ) ; }
Applies all queued changes to the given permission set .