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
6c88bad8
Commit
6c88bad8
authored
May 20, 1998
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated permissions.
parent
b82abcaf
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
17 deletions
+28
-17
lib/python/OFS/Image.py
lib/python/OFS/Image.py
+4
-3
lib/python/Products/OFSP/Session.py
lib/python/Products/OFSP/Session.py
+7
-4
lib/python/Products/OFSP/Version.py
lib/python/Products/OFSP/Version.py
+7
-4
lib/python/Products/OFSP/__init__.py
lib/python/Products/OFSP/__init__.py
+10
-6
No files found.
lib/python/OFS/Image.py
View file @
6c88bad8
"""Image object"""
__version__
=
'$Revision: 1.4
2
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.4
3
$'
[
11
:
-
2
]
import
Globals
from
Globals
import
HTMLFile
,
MessageDialog
...
...
@@ -43,8 +43,9 @@ class File(Persistent,Implicit,RoleManager,Item_w__name__):
__ac_permissions__
=
(
(
'View management screens'
,
[
'manage'
,
'manage_tabs'
,
'manage_uploadForm'
]),
(
'Change permissions'
,
[
'manage_access'
]),
(
'Change/upload data'
,
[
'manage_edit'
,
'manage_upload'
,
'PUT'
]),
(
'View'
,
[
'index_html'
,
'view_image_or_file'
,
'getSize'
,
'getContentType'
,
''
]),
(
'Change Images and Files'
,
[
'manage_edit'
,
'manage_upload'
,
'PUT'
]),
(
'View'
,
[
'index_html'
,
'view_image_or_file'
,
'getSize'
,
'getContentType'
,
''
]),
)
...
...
lib/python/Products/OFSP/Session.py
View file @
6c88bad8
"""Session object"""
__version__
=
'$Revision: 1.1
8
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
9
$'
[
11
:
-
2
]
import
Globals
,
time
from
AccessControl.Role
import
RoleManager
...
...
@@ -32,9 +32,9 @@ class Session(Persistent,Implicit,RoleManager,Item):
__ac_permissions__
=
(
(
'View management screens'
,
[
'manage'
,
'manage_tabs'
,
'manage_editForm'
,
''
]),
(
'Change permissions'
,
[
'manage_access'
]),
(
'
Edit session
'
,
[
'manage_edit'
]),
(
'Join/leave
session
'
,
[
'enter'
,
'leave'
,
'leave_another'
]),
(
'Save/discard
session
'
,
[
'save'
,
'discard'
]),
(
'
Change Sessions
'
,
[
'manage_edit'
]),
(
'Join/leave
Sessions
'
,
[
'enter'
,
'leave'
,
'leave_another'
]),
(
'Save/discard
Session changes
'
,
[
'save'
,
'discard'
]),
)
def
__init__
(
self
,
id
,
title
,
REQUEST
):
...
...
@@ -105,6 +105,9 @@ __init__.need_license=1
##############################################################################
#
# $Log: Session.py,v $
# Revision 1.19 1998/05/20 22:07:32 jim
# Updated permissions.
#
# Revision 1.18 1998/05/20 17:58:17 jim
# Got rid of ac_types.
#
...
...
lib/python/Products/OFSP/Version.py
View file @
6c88bad8
"""Session object"""
__version__
=
'$Revision: 1.1
8
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
9
$'
[
11
:
-
2
]
import
Globals
,
time
from
AccessControl.Role
import
RoleManager
...
...
@@ -32,9 +32,9 @@ class Session(Persistent,Implicit,RoleManager,Item):
__ac_permissions__
=
(
(
'View management screens'
,
[
'manage'
,
'manage_tabs'
,
'manage_editForm'
,
''
]),
(
'Change permissions'
,
[
'manage_access'
]),
(
'
Edit session
'
,
[
'manage_edit'
]),
(
'Join/leave
session
'
,
[
'enter'
,
'leave'
,
'leave_another'
]),
(
'Save/discard
session
'
,
[
'save'
,
'discard'
]),
(
'
Change Sessions
'
,
[
'manage_edit'
]),
(
'Join/leave
Sessions
'
,
[
'enter'
,
'leave'
,
'leave_another'
]),
(
'Save/discard
Session changes
'
,
[
'save'
,
'discard'
]),
)
def
__init__
(
self
,
id
,
title
,
REQUEST
):
...
...
@@ -105,6 +105,9 @@ __init__.need_license=1
##############################################################################
#
# $Log: Version.py,v $
# Revision 1.19 1998/05/20 22:07:32 jim
# Updated permissions.
#
# Revision 1.18 1998/05/20 17:58:17 jim
# Got rid of ac_types.
#
...
...
lib/python/Products/OFSP/__init__.py
View file @
6c88bad8
...
...
@@ -8,8 +8,8 @@
#
##############################################################################
__doc__
=
'''Base Principia
$Id: __init__.py,v 1.1
3 1998/05/20 20:56:25
jim Exp $'''
__version__
=
'$Revision: 1.1
3
$'
[
11
:
-
2
]
$Id: __init__.py,v 1.1
4 1998/05/20 22:07:41
jim Exp $'''
__version__
=
'$Revision: 1.1
4
$'
[
11
:
-
2
]
import
Session
,
DraftFolder
from
ImageFile
import
ImageFile
...
...
@@ -72,11 +72,12 @@ __ac_permissions__=(
),
(
'Add Folders'
,(
'manage_addFolderForm'
,
'manage_addFolder'
)),
(
'Add User Folders'
,(
'manage_addUserFolder'
,)),
(
'Change/upload data'
,
()),
(
'Change Documents'
,
()),
(
'Change Images and Files'
,
()),
(
'Change proxy roles'
,
()),
(
'
Edit session
'
,
()),
(
'Join/leave
session
'
,
()),
(
'Save/discard
session
'
,
()),
(
'
Change Sessions
'
,
()),
(
'Join/leave
Sessions
'
,
()),
(
'Save/discard
Session changes
'
,
()),
#('Add DraftFolders',
# ('manage_addDraftFolderForm', 'manage_addDraftFolder')),
)
...
...
@@ -84,6 +85,9 @@ __ac_permissions__=(
##############################################################################
#
# $Log: __init__.py,v $
# Revision 1.14 1998/05/20 22:07:41 jim
# Updated permissions.
#
# Revision 1.13 1998/05/20 20:56:25 jim
# Updated permissions.
#
...
...
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