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
ff382ebc
Commit
ff382ebc
authored
Aug 27, 1997
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added forgotten dtml
parent
a4573ab6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
64 additions
and
15 deletions
+64
-15
lib/python/AccessControl/Generic_manage.dtml
lib/python/AccessControl/Generic_manage.dtml
+16
-0
lib/python/AccessControl/Generic_manage_menu.dtml
lib/python/AccessControl/Generic_manage_menu.dtml
+44
-0
lib/python/AccessControl/User.py
lib/python/AccessControl/User.py
+4
-15
No files found.
lib/python/AccessControl/Generic_manage.dtml
0 → 100644
View file @
ff382ebc
<HTML>
<HEAD>
<TITLE><!--#var title--></TITLE>
</HEAD>
<FRAMESET FRAMEBORDER="NO" BORDER="0" FRAMESPACING="0" COLS="140,*">
<FRAME SRC="<!--#var PARENT_URL-->/manage_menu" NAME="manage_menu"
MARGINWIDTH="6" MARGINHEIGHT="6" SCROLLING="auto">
<FRAME SRC="<!--#var PARENT_URL-->/manage_main" NAME="manage_main"
MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="auto">
</FRAMESET>
<NOFRAMES>
Management interfaces require the use of a
<STRONG>frames-capable</STRONG> web browser.
</NOFRAMES>
</HTML>
lib/python/AccessControl/Generic_manage_menu.dtml
0 → 100644
View file @
ff382ebc
<HTML>
<HEAD>
<TITLE>Management Menu</TITLE>
</HEAD>
<BODY BACKGROUND="<!--#var SOFTWARE_URL-->/App/background.jpg"
BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555" ALINK="#77003B">
<TABLE BORDER="0">
<TR>
<TD ALIGN="LEFT" COLSPAN="2" VALIGN="TOP">
<IMG SRC="<!--#var SOFTWARE_URL-->/logo.jpg"
WIDTH="90" HEIGHT="90">
<BR>
</TD>
</TR>
<TR><TD></TD><TD></TD></TR>
<!--#if manage_options-->
<!--#in manage_options mapping-->
<!--#if sequence-item-->
<TR>
<TD ALIGN="LEFT" VALIGN="TOP">
<A HREF="<!--#var PARENT_URL-->/<!--#var action-->"
TARGET="<!--#var target-->"><IMG BORDER="0" HEIGHT="16"
WIDTH="16" ALT="<!--#var label-->"
SRC="<!--#var SOFTWARE_URL-->/<!--#var icon-->"></A>
</TD>
<TD ALIGN="LEFT">
<FONT SIZE="-1">
<A HREF="<!--#var PARENT_URL-->/<!--#var action-->"
TARGET="<!--#var target-->">
<!--#var label-->
</A></FONT>
</TD>
</TR>
<!--#else sequence-item-->
<TR><TD COLSPAN="2"><HR></TD></TR>
<!--#/if sequence-item-->
<!--#/in manage_options-->
<!--#/if manage_options-->
</TABLE>
</BODY>
</HTML>
lib/python/AccessControl/User.py
View file @
ff382ebc
"""Access control package"""
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
import
Globals
from
Persistence
import
Persistent
...
...
@@ -180,21 +180,7 @@ class UserFolder(Implicit, Persistent):
del
self
.
_data
[
n
]
return
self
.
manage_main
(
self
,
REQUEST
)
def
manage_addRole
(
self
,
REQUEST
,
role
):
""" """
roles
=
Globals
.
Bobobase
[
'roles'
]
if
role
not
in
roles
:
Globals
.
Bobobase
[
'roles'
]
=
tuple
(
roles
)
+
(
role
,)
return
self
.
manage_main
(
self
,
REQUEST
)
def
manage_deleteRole
(
self
,
REQUEST
,
role
):
""" """
roles
=
Globals
.
Bobobase
[
'roles'
]
if
role
in
roles
:
roles
=
list
(
roles
)
del
roles
[
roles
.
index
(
role
)]
Globals
.
Bobobase
[
'roles'
]
=
tuple
(
roles
)
return
self
.
manage_main
(
self
,
REQUEST
)
...
...
@@ -240,6 +226,9 @@ class UserFolderHandler:
# $Log: User.py,v $
# Revision 1.7 1997/08/27 19:49:48 brian
# Added forgotten dtml
#
# Revision 1.6 1997/08/27 13:44:00 brian
# Added a nicer dialog to return if users try to create more than one
# UserFolder in an object.
...
...
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