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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Aurélien Vermylen
erp5
Commits
ea12774e
Commit
ea12774e
authored
Sep 19, 2013
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix wrong permission in CMFActivity.
parent
0aa35a8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
product/CMFActivity/ActivityTool.py
product/CMFActivity/ActivityTool.py
+1
-1
No files found.
product/CMFActivity/ActivityTool.py
View file @
ea12774e
...
@@ -901,7 +901,7 @@ class ActivityTool (Folder, UniqueObject):
...
@@ -901,7 +901,7 @@ class ActivityTool (Folder, UniqueObject):
"""Check we have been provided a good node name"""
"""Check we have been provided a good node name"""
return
isinstance
(
node_name
,
str
)
return
isinstance
(
node_name
,
str
)
security
.
declareP
ublic
(
'manage_setDistributingNode'
)
security
.
declareP
rotected
(
CMFCorePermissions
.
ManagePortal
,
'manage_setDistributingNode'
)
def
manage_setDistributingNode
(
self
,
distributingNode
,
REQUEST
=
None
):
def
manage_setDistributingNode
(
self
,
distributingNode
,
REQUEST
=
None
):
""" set the distributing node """
""" set the distributing node """
if
not
distributingNode
or
self
.
_isValidNodeName
(
distributingNode
):
if
not
distributingNode
or
self
.
_isValidNodeName
(
distributingNode
):
...
...
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