Commit cfec0d63 authored by adam's avatar adam

repairing accidental commit by promoting proper revision to the head of the trunk

parent 4ff81bbb
......@@ -2,39 +2,28 @@
<HTML lang="en">
<HEAD>
<TITLE>Security</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!--
function selectAll(boxes)
{
for (i = 0; i < boxes.length; i++)
boxes[i].checked = true ;
}
function unselectAll()
{
for (i = 0; i < document.actions.length; i++)
document.actions.elements[i].checked = false ;
}
function returnAxis(arg)
{
for (i = 0; i < document.permissions.length; i++)
{
if (document.permissions.elements[i].name.charAt(1) == arg)
document.permissions.elements[i].checked = true ;
}
}
//-->
</SCRIPT>
</HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555" ALINK="#77003B">
<dtml-if manage_tabs>
<dtml-var manage_tabs>
</dtml-if manage_tabs>
<P>
The listing below shows the current security settings for this item.
Permissions are rows and roles are columns. Checkboxes are used to
indicate where roles are assigned permissions. You can also assign
<strong><a href="manage_listLocalRoles">local roles</a></strong> to
users, which give users extra roles in the context of this object and
its subobjects.
</P>
<P>
When a role is assigned to a permission, users with the given role
will be able to perform tasks associated with the permission on this
item. When the <EM>Acquire permission settings</EM> checkbox is selected
then the containing objects's permission settings are used. Note: the
acquired permission settings may be augmented by selecting Roles for
a permission in addition to selecting to acquire permissions.
</P>
<dtml-if "_['id'] != 'acl_users'">
<P>
......@@ -49,14 +38,11 @@ td {
font-size: 10pt;
color: black;
}
-->
>
</style>
<dtml-with expr="_.namespace(valid_roles=valid_roles())">
<FORM name="permissions" ACTION="manage_changePermissions" METHOD="POST">
<TABLE CELLPADDING="4">
<TR>
<TD WIDTH="70%" VALIGN="TOP">
<FORM ACTION="manage_changePermissions" METHOD="POST">
<TABLE>
<TR>
<dtml-unless isTopLevelPrincipiaApplicationObject>
......@@ -91,13 +77,7 @@ td {
</TR>
<dtml-in permission_settings mapping>
<dtml-if sequence-odd>
<TR>
</dtml-if>
<dtml-if sequence-even>
<TR BGCOLOR = "#DDDDDD">
</dtml-if>
<dtml-unless isTopLevelPrincipiaApplicationObject>
<TD ALIGN="CENTER">
<INPUT TYPE="checkbox" NAME="a<dtml-var sequence-index>"
......@@ -107,13 +87,12 @@ td {
<TD ALIGN="LEFT">
<A HREF="manage_permissionForm?permission_to_manage=<dtml-
var name url_quote>">
<dtml-var name></A><!-- - <sm><a href="#" OnClick="returnAxis(<dtml-var sequence-index>); return false;">Select Roles for this Permission</a></sm> -->
<dtml-var name></A>
</TD>
<dtml-in roles mapping>
<TD ALIGN="CENTER">
<INPUT TYPE="CHECKBOX" NAME="<dtml-var name>" <dtml-var checked>>
</TD>
</dtml-in>
</TR>
......@@ -128,27 +107,6 @@ td {
</TD>
</TR>
</TABLE>
</TD>
<TD VALIGN=TOP WIDTH="30%">
<P>
The listing below shows the current security settings for this item.
Permissions are rows and roles are columns. Checkboxes are used to
indicate where roles are assigned permissions. You can also assign
<strong><a href="manage_listLocalRoles">local roles</a></strong> to
users, which give users extra roles in the context of this object and
its subobjects.
</P>
<P>
When a role is assigned to a permission, users with the given role
will be able to perform tasks associated with the permission on this
item. When the <EM>Acquire permission settings</EM> checkbox is selected
then the containing objects's permission settings are used. Note: the
acquired permission settings may be augmented by selecting Roles for
a permission in addition to selecting to acquire permissions.
</P>
</TD>
</TR>
</TABLE>
</FORM>
</dtml-with>
......@@ -194,7 +152,3 @@ a permission in addition to selecting to acquire permissions.
</BODY>
</HTML>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment