Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
cfec0d63
Commit
cfec0d63
authored
Dec 18, 2000
by
adam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
repairing accidental commit by promoting proper revision to the head of the trunk
parent
4ff81bbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
65 deletions
+19
-65
lib/python/AccessControl/access.dtml
lib/python/AccessControl/access.dtml
+19
-65
No files found.
lib/python/AccessControl/access.dtml
View file @
cfec0d63
...
...
@@ -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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment