JAL-1400 found a fix for the sandbox exception - need a 'permissions' parameter