Added policy.rule=allow when creating new users for service page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12282 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -2260,7 +2260,7 @@ sub web_updateuser() {
 | 
			
		||||
	
 | 
			
		||||
	# Save in xCAT passwd and policy tables
 | 
			
		||||
	`chtab username=$user passwd.key=xcat passwd.password=$password`;
 | 
			
		||||
	`chtab name=$user policy.priority=$priority policy.comments="max-vm:$maxVM"`;
 | 
			
		||||
	`chtab name=$user policy.priority=$priority policy.rule=allow policy.comments="max-vm:$maxVM"`;
 | 
			
		||||
	
 | 
			
		||||
	my $info = "User successfully updated";
 | 
			
		||||
	$callback->( { info => $info } );
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user