<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html metal:use-macro="container/page_macro/macros/master_page">

<script metal:fill-slot="js_slot" type="text/javascript" src="js/checkAll2"></script>

<span tal:omit-tag="" metal:fill-slot="breadcrumbs">
	&gt; <a href="manage_ivaUsers" i18n:translate="">User management</a> &gt;<label i18n:translate=""> manage user permissions</label>
</span>

<span tal:omit-tag="" metal:fill-slot="main_content_slot">

	<table class="gray_table" cellspacing="1" style="width:400px;">
		<form id="perForm" name="perForm" action="manage_userPerhandler" method="post">
	
		<th >username</th>	
		<th><a href="javascript:selectAll('perm_org','perForm')">Deny changing affiliation</a></th>
		<th><a href="javascript:selectAll('perm_pass','perForm')">Deny changing password</a></th>
		<th><a href="javascript:selectAll('perm_must_change','perForm')">Force password change</a></th>
		<tr style="text-align:center" tal:repeat="juser options/users">
			<span tal:define="userObject python:context.get_user_info(juser)">
			<td class="gray_table">
				<label tal:content="juser" />
			</td>
			
			<td>
				<input id="perm_org" checked="checked" type="checkbox" name="perm_org" value="" tal:attributes="value juser;checked userObject/perm_org | nothing" />
			</td>
			
			<td>
				<input type="checkbox" checked="checked" name="perm_pass" value="" tal:attributes="value juser;checked userObject/perm_pass | nothing" />
			</td>
			
			<td>
				<input type="checkbox" checked="checked" name="perm_must_change" value="" tal:attributes="value juser;checked userObject/perm_must_change | nothing" />
			</td>
			</span>
		</tr>
		<tr><td colspan="4">
			<input type="hidden" value="" name="nimed" tal:attributes="value options/users" />
			<input type="submit" value="Submit" name="submit" />
		</td></tr>
		</form>
	</table>

</span>

</html>

