Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
nexedi
erp5
Commits
fd2bccad
Commit
fd2bccad
authored
4 months ago
by
Jérome Perrin
Browse files
Options
Download
Email Patches
Plain Diff
Base: make getWorkflowStateItemList protected
parent
bb005aea
1 merge request
!2015
adjust security of workflow utility methods
Pipeline
#38029
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
product/ERP5Type/Base.py
product/ERP5Type/Base.py
+2
-1
No files found.
product/ERP5Type/Base.py
View file @
fd2bccad
...
...
@@ -2871,7 +2871,8 @@ class Base(
return
related_count
# Workflow Related Method
security
.
declarePublic
(
'getWorkflowStateItemList'
)
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getWorkflowStateItemList'
)
def
getWorkflowStateItemList
(
self
):
"""
Returns a list of tuples {id:workflow_id, state:workflow_state}
...
...
This diff is collapsed.
Click to expand it.
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