private static PermissionCollection createAllPermissions(){
  Permissions permissions=new Permissions();
  permissions.add(new AllPermission());
  return permissions;
}

private static PermissionCollection createAllPermissions ( ) { Permissions permissions = new Permissions ( ) ; permissions . add ( new AllPermission ( ) ) ; return permissions ; }
create permission for our trusted code . no restrictions are applied
