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 @@ ...@@ -2,39 +2,28 @@
<HTML lang="en"> <HTML lang="en">
<HEAD> <HEAD>
<TITLE>Security</TITLE> <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> </HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555" ALINK="#77003B"> <BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555" ALINK="#77003B">
<dtml-if manage_tabs> <dtml-if manage_tabs>
<dtml-var manage_tabs> <dtml-var manage_tabs>
</dtml-if 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'"> <dtml-if "_['id'] != 'acl_users'">
<P> <P>
...@@ -49,14 +38,11 @@ td { ...@@ -49,14 +38,11 @@ td {
font-size: 10pt; font-size: 10pt;
color: black; color: black;
} }
--> >
</style> </style>
<dtml-with expr="_.namespace(valid_roles=valid_roles())"> <dtml-with expr="_.namespace(valid_roles=valid_roles())">
<FORM name="permissions" ACTION="manage_changePermissions" METHOD="POST"> <FORM ACTION="manage_changePermissions" METHOD="POST">
<TABLE CELLPADDING="4">
<TR>
<TD WIDTH="70%" VALIGN="TOP">
<TABLE> <TABLE>
<TR> <TR>
<dtml-unless isTopLevelPrincipiaApplicationObject> <dtml-unless isTopLevelPrincipiaApplicationObject>
...@@ -91,13 +77,7 @@ td { ...@@ -91,13 +77,7 @@ td {
</TR> </TR>
<dtml-in permission_settings mapping> <dtml-in permission_settings mapping>
<dtml-if sequence-odd>
<TR> <TR>
</dtml-if>
<dtml-if sequence-even>
<TR BGCOLOR = "#DDDDDD">
</dtml-if>
<dtml-unless isTopLevelPrincipiaApplicationObject> <dtml-unless isTopLevelPrincipiaApplicationObject>
<TD ALIGN="CENTER"> <TD ALIGN="CENTER">
<INPUT TYPE="checkbox" NAME="a<dtml-var sequence-index>" <INPUT TYPE="checkbox" NAME="a<dtml-var sequence-index>"
...@@ -107,13 +87,12 @@ td { ...@@ -107,13 +87,12 @@ td {
<TD ALIGN="LEFT"> <TD ALIGN="LEFT">
<A HREF="manage_permissionForm?permission_to_manage=<dtml- <A HREF="manage_permissionForm?permission_to_manage=<dtml-
var name url_quote>"> 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> </TD>
<dtml-in roles mapping> <dtml-in roles mapping>
<TD ALIGN="CENTER"> <TD ALIGN="CENTER">
<INPUT TYPE="CHECKBOX" NAME="<dtml-var name>" <dtml-var checked>> <INPUT TYPE="CHECKBOX" NAME="<dtml-var name>" <dtml-var checked>>
</TD> </TD>
</dtml-in> </dtml-in>
</TR> </TR>
...@@ -128,27 +107,6 @@ td { ...@@ -128,27 +107,6 @@ td {
</TD> </TD>
</TR> </TR>
</TABLE> </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> </FORM>
</dtml-with> </dtml-with>
...@@ -194,7 +152,3 @@ a permission in addition to selecting to acquire permissions. ...@@ -194,7 +152,3 @@ a permission in addition to selecting to acquire permissions.
</BODY> </BODY>
</HTML> </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