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
f4d31dee
Commit
f4d31dee
authored
Jan 10, 2000
by
Amos Latteier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added online help for User Folders.
parent
d7b18f84
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
6 deletions
+16
-6
lib/python/AccessControl/User.py
lib/python/AccessControl/User.py
+7
-4
lib/python/AccessControl/addUser.dtml
lib/python/AccessControl/addUser.dtml
+5
-1
lib/python/AccessControl/editUser.dtml
lib/python/AccessControl/editUser.dtml
+4
-1
No files found.
lib/python/AccessControl/User.py
View file @
f4d31dee
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
##############################################################################
##############################################################################
"""Access control package"""
"""Access control package"""
__version__
=
'$Revision: 1.9
3
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.9
4
$'
[
11
:
-
2
]
import
Globals
,
App
.
Undo
,
socket
,
regex
import
Globals
,
App
.
Undo
,
socket
,
regex
from
Globals
import
HTMLFile
,
MessageDialog
,
Persistent
,
PersistentMapping
from
Globals
import
HTMLFile
,
MessageDialog
,
Persistent
,
PersistentMapping
...
@@ -321,9 +321,12 @@ class BasicUserFolder(Implicit, Persistent, Navigation, Tabs, RoleManager,
...
@@ -321,9 +321,12 @@ class BasicUserFolder(Implicit, Persistent, Navigation, Tabs, RoleManager,
isAUserFolder
=
1
isAUserFolder
=
1
manage_options
=
(
manage_options
=
(
{
'label'
:
'Contents'
,
'action'
:
'manage_main'
},
{
'label'
:
'Contents'
,
'action'
:
'manage_main'
,
{
'label'
:
'Security'
,
'action'
:
'manage_access'
},
'help'
:(
'OFSP'
,
'User-Folder_Contents.dtml'
)},
{
'label'
:
'Undo'
,
'action'
:
'manage_UndoForm'
},
{
'label'
:
'Security'
,
'action'
:
'manage_access'
,
'help'
:(
'OFSP'
,
'User-Folder_Security.dtml'
)},
{
'label'
:
'Undo'
,
'action'
:
'manage_UndoForm'
,
'help'
:(
'OFSP'
,
'User-Folder_Undo.dtml'
)},
)
)
__ac_permissions__
=
(
__ac_permissions__
=
(
...
...
lib/python/AccessControl/addUser.dtml
View file @
f4d31dee
...
@@ -4,7 +4,11 @@
...
@@ -4,7 +4,11 @@
<TITLE>
Add User
</TITLE>
<TITLE>
Add User
</TITLE>
</HEAD>
</HEAD>
<BODY
BGCOLOR=
"#FFFFFF"
LINK=
"#000099"
VLINK=
"#555555"
>
<BODY
BGCOLOR=
"#FFFFFF"
LINK=
"#000099"
VLINK=
"#555555"
>
<dtml-var
manage_tabs
>
<H2>
Add User
</H2>
<dtml-var
"
HelpSys
.
HelpButton
('
User-Folder_Add-User
.
dtml
')"
>
<P>
<P>
To add a new user, enter the name,
To add a new user, enter the name,
<dtml-unless
remote_user_mode__
>
<dtml-unless
remote_user_mode__
>
...
...
lib/python/AccessControl/editUser.dtml
View file @
f4d31dee
...
@@ -4,7 +4,10 @@
...
@@ -4,7 +4,10 @@
<TITLE>
Change User
</TITLE>
<TITLE>
Change User
</TITLE>
</HEAD>
</HEAD>
<BODY
BGCOLOR=
"#FFFFFF"
LINK=
"#000099"
VLINK=
"#555555"
>
<BODY
BGCOLOR=
"#FFFFFF"
LINK=
"#000099"
VLINK=
"#555555"
>
<dtml-var
manage_tabs
>
<H2>
Change User
</H2>
<dtml-var
"
HelpSys
.
HelpButton
('
User-Folder_Edit-User
.
dtml
')"
>
<FORM
ACTION=
"manage_users"
METHOD=
"POST"
>
<FORM
ACTION=
"manage_users"
METHOD=
"POST"
>
<TABLE>
<TABLE>
...
...
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