]> git.proxmox.com Git - pve-access-control.git/commitdiff
allow more characters with realm IDs
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 20 Feb 2012 07:54:40 +0000 (08:54 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 20 Feb 2012 07:54:40 +0000 (08:54 +0100)
Makefile
PVE/AccessControl.pm
changelog.Debian

index 783ee043c02dc853aca489cca451842c9a927d2c..f9cebd680cae7a8ec44a5905d19696059744980b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ RELEASE=2.0
 
 VERSION=1.0
 PACKAGE=libpve-access-control
-PKGREL=11
+PKGREL=12
 
 DESTDIR=
 PREFIX=/usr
index 44813a7b04180a95753b85af1444930333bdd5c4..0e625d5e178cde7624f5cef275e13f79689e91d2 100644 (file)
@@ -705,6 +705,7 @@ sub normalize_path {
 
 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) = @_;
  
@@ -748,7 +749,7 @@ PVE::JSONSchema::register_standard_option('userid', {
 
 PVE::JSONSchema::register_standard_option('realm', {
     description => "Authentication domain ID",
-    type => 'string', format => 'pve-configid',
+    type => 'string', format => 'pve-realm',
     maxLength => 32,
 });
 
index 3789bb39cb3deb9c12094dd58f6c89a077f4273b..3fcbce651238aae32597f465a8e73aed4a01508f 100644 (file)
@@ -1,3 +1,9 @@
+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