mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-07-27 05:15:24 +00:00
allow more characters with realm IDs
This commit is contained in:
parent
09d270580b
commit
8461960715
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ RELEASE=2.0
|
||||
|
||||
VERSION=1.0
|
||||
PACKAGE=libpve-access-control
|
||||
PKGREL=11
|
||||
PKGREL=12
|
||||
|
||||
DESTDIR=
|
||||
PREFIX=/usr
|
||||
|
@ -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,
|
||||
});
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user