my $realm_regex = qr/[A-Za-z][A-Za-z0-9\.\-_]+/;
+PVE::JSONSchema::register_format('pve-realm', \&pve_verify_realm);
sub pve_verify_realm {
my ($realm, $noerr) = @_;
PVE::JSONSchema::register_standard_option('realm', {
description => "Authentication domain ID",
- type => 'string', format => 'pve-configid',
+ type => 'string', format => 'pve-realm',
maxLength => 32,
});
+libpve-access-control (1.0-12) unstable; urgency=low
+
+ * allow more characters with realm IDs
+
+ -- Proxmox Support Team <support@proxmox.com> Mon, 20 Feb 2012 08:50:33 +0100
+
libpve-access-control (1.0-11) unstable; urgency=low
* fix bug in exec_api2_perm_check