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
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Lu Xu
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
Show 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
...
...
@@ -4,8 +4,7 @@
# with lots of content could mean hours of non-usable overloaded system.
type_tool
=
context
.
getPortalObject
().
portal_types
for
portal_type_name
in
context
.
getTypeInfo
().
getTypeAllowedContentTypeList
():
portal_type
=
type_tool
[
portal_type_name
]
if
portal_type
.
getTypeAcquireLocalRole
():
if
getattr
(
type_tool
,
portal_type_name
).
getTypeAcquireLocalRole
():
reindex
=
context
.
recursiveReindexObject
break
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