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
9730698f
Commit
9730698f
authored
Mar 22, 2007
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #2296: Fix broken import of ZClass products.
parent
a63210ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
doc/CHANGES.txt
doc/CHANGES.txt
+4
-0
lib/python/App/Product.py
lib/python/App/Product.py
+3
-1
No files found.
doc/CHANGES.txt
View file @
9730698f
...
...
@@ -8,6 +8,10 @@ Zope Changes
Bugs fixed
- Collector #2296: Fixed import of ZClass products, broken by removal
of BBB support for pasting objects whose meta_type info was
permission-free.
- Collector #2294: Protected DOS-able ControlPanel methods with the
same 'requestmethod' wrapper.
...
...
lib/python/App/Product.py
View file @
9730698f
...
...
@@ -45,6 +45,7 @@ import ZClasses, AccessControl.Owned
from
OFS.Folder
import
Folder
from
HelpSys.HelpSys
import
ProductHelp
from
AccessControl
import
Unauthorized
from
AccessControl.Permissions
import
manage_zclasses
from
Factory
import
Factory
from
Permission
import
PermissionManager
...
...
@@ -60,7 +61,8 @@ class ProductFolder(Folder):
meta_type
=
'Product Management'
icon
=
'p_/ProductFolder_icon'
all_meta_types
=
{
'name'
:
'Product'
,
'action'
:
'manage_addProductForm'
},
all_meta_types
=
{
'name'
:
'Product'
,
'action'
:
'manage_addProductForm'
,
'permission'
:
manage_zclasses
},
meta_types
=
all_meta_types
# This prevents subobjects from being owned!
...
...
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