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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
erp5
Commits
24f587a8
Commit
24f587a8
authored
Sep 08, 2016
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Workflow: remove all old guards setted up during workflow conversion
parent
8bd1fc97
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
product/ERP5Workflow/Document/Transition.py
product/ERP5Workflow/Document/Transition.py
+0
-1
product/ERP5Workflow/Tool/WorkflowTool.py
product/ERP5Workflow/Tool/WorkflowTool.py
+0
-3
No files found.
product/ERP5Workflow/Document/Transition.py
View file @
24f587a8
...
...
@@ -60,7 +60,6 @@ class Transition(IdAsReferenceMixin("transition_", "prefix"), XMLObject,
isPortalContent
=
1
isRADContent
=
1
trigger_type
=
TRIGGER_USER_ACTION
#zwj: type is int 0, 1, 2
guard
=
None
var_exprs
=
None
# A mapping.
default_reference
=
''
# Declarative security
...
...
product/ERP5Workflow/Tool/WorkflowTool.py
View file @
24f587a8
...
...
@@ -342,7 +342,6 @@ class WorkflowTool(BaseTool, OriginalWorkflowTool):
# configure guard
if
tdef
.
guard
:
transition
.
guard
=
tdef
.
guard
transition
.
setGuardRoleList
(
tdef
.
guard
.
roles
)
transition
.
setGuardPermissionList
(
tdef
.
guard
.
permissions
)
transition
.
setGuardGroupList
(
tdef
.
guard
.
groups
)
...
...
@@ -449,7 +448,6 @@ class WorkflowTool(BaseTool, OriginalWorkflowTool):
worklist
.
setActionName
(
qdef
.
actbox_name
)
# configure guard
if
qdef
.
guard
:
worklist
.
guard
=
qdef
.
guard
worklist
.
setGuardRoleList
(
qdef
.
guard
.
roles
)
worklist
.
setGuardPermissionList
(
qdef
.
guard
.
permissions
)
worklist
.
setGuardGroupList
(
qdef
.
guard
.
groups
)
...
...
@@ -486,7 +484,6 @@ class WorkflowTool(BaseTool, OriginalWorkflowTool):
# configure guard
if
tdef
.
guard
:
interaction
.
guard
=
tdef
.
guard
interaction
.
setGuardRoleList
(
tdef
.
guard
.
roles
)
interaction
.
setGuardPermissionList
(
tdef
.
guard
.
permissions
)
interaction
.
setGuardGroupList
(
tdef
.
guard
.
groups
)
...
...
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