[pve-devel] r5562 - pve-access-control/trunk/PVE
svn-commits at proxmox.com
svn-commits at proxmox.com
Fri Feb 18 06:40:06 CET 2011
Author: dietmar
Date: 2011-02-18 06:40:06 +0100 (Fri, 18 Feb 2011)
New Revision: 5562
Modified:
pve-access-control/trunk/PVE/AccessControl.pm
Log:
never write builtin domains
Modified: pve-access-control/trunk/PVE/AccessControl.pm
===================================================================
--- pve-access-control/trunk/PVE/AccessControl.pm 2011-02-18 05:37:27 UTC (rev 5561)
+++ pve-access-control/trunk/PVE/AccessControl.pm 2011-02-18 05:40:06 UTC (rev 5562)
@@ -789,12 +789,15 @@
foreach my $domid (sort keys %$cfg) {
my $entry = $cfg->{$domid};
- next if !$entry->{type};
+ my $type = $entry->{type};
+ next if !$type;
- my $formats = $valid_attributes->{$entry->{type}};
+ next if ($type eq 'pam') || ($type eq 'pve');
+
+ my $formats = $valid_attributes->{$type};
next if !$formats;
- $data .= "$entry->{type}: $domid\n";
+ $data .= "$type: $domid\n";
foreach my $k (sort keys %$entry) {
next if $k eq 'type';
More information about the pve-devel
mailing list