Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gabriel Monnerat
erp5
Commits
27126964
Commit
27126964
authored
Dec 21, 2018
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Base_reindexObjectSecurity when an allowed content is a solver
parent
9de61fa2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_reindexObjectSecurity.py
...Item/portal_skins/erp5_core/Base_reindexObjectSecurity.py
+2
-3
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_reindexObjectSecurity.py
View file @
27126964
...
@@ -2,10 +2,9 @@
...
@@ -2,10 +2,9 @@
#
#
# After all, recursively re-indexing a module in a production system
# After all, recursively re-indexing a module in a production system
# with lots of content could mean hours of non-usable overloaded system.
# with lots of content could mean hours of non-usable overloaded system.
type_tool
=
context
.
getPortalObject
().
portal_types
type_tool
=
context
.
getPortalObject
().
portal_types
for
portal_type_name
in
context
.
getTypeInfo
().
getTypeAllowedContentTypeList
():
for
portal_type_name
in
context
.
getTypeInfo
().
getTypeAllowedContentTypeList
():
portal_type
=
type_tool
[
portal_type_name
]
if
getattr
(
type_tool
,
portal_type_name
).
getTypeAcquireLocalRole
():
if
portal_type
.
getTypeAcquireLocalRole
():
reindex
=
context
.
recursiveReindexObject
reindex
=
context
.
recursiveReindexObject
break
break
else
:
else
:
...
...
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