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
cfd807ca
Commit
cfd807ca
authored
May 24, 2019
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CMFActivity.ActivityTool: Add missing security declaration.
parent
048c4414
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
product/CMFActivity/ActivityTool.py
product/CMFActivity/ActivityTool.py
+1
-0
No files found.
product/CMFActivity/ActivityTool.py
View file @
cfd807ca
...
...
@@ -1095,6 +1095,7 @@ class ActivityTool (BaseTool):
"""
return
[
x
for
x
in
self
.
_family_list
if
x
is
not
None
]
security
.
declareProtected
(
CMFCorePermissions
.
ManagePortal
,
'getFamilyNodeList'
)
def
getFamilyNodeList
(
self
,
family_name
):
"""
Return the list of node names in given family.
...
...
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