Revision 4c8b82e2 src/rm/RequestManagerVMTemplate.cc

View differences:

src/rm/RequestManagerVMTemplate.cc
274 274

  
275 275
	if (att.uid!=UserPool::ONEADMIN_ID && att.gid!=GroupPool::ONEADMIN_ID)
276 276
	{
277
		if (uattrs.check(aname))
277
		if (uattrs.check_restricted(aname, tmpl))
278 278
		{
279 279
			att.resp_msg ="User Template includes a restricted attribute " + aname;
280 280

  

Also available in: Unified diff