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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
a20dd703
Commit
a20dd703
authored
Nov 21, 2024
by
Romain Courteaud
🐙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_core: do not retrieve documents not viewable by user
parent
e043e653
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_jumpToRelatedObject.py
...teItem/portal_skins/erp5_core/Base_jumpToRelatedObject.py
+1
-1
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_jumpToRelatedObject.py
View file @
a20dd703
...
@@ -47,7 +47,7 @@ if related:
...
@@ -47,7 +47,7 @@ if related:
else
:
else
:
search_method
=
getattr
(
relation
,
'get%sList'
%
getter_base_name
)
search_method
=
getattr
(
relation
,
'get%sList'
%
getter_base_name
)
related_list
=
search_method
(
portal_type
=
portal_type
)
related_list
=
search_method
(
portal_type
=
portal_type
,
checked_permission
=
'View'
)
relation_found
=
0
relation_found
=
0
if
len
(
related_list
)
==
0
:
if
len
(
related_list
)
==
0
:
...
...
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