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
7593486a
Commit
7593486a
authored
Sep 01, 2016
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Workflow: rename erp5_permission_roles by state_permission_roles
+ remove unused dependencies
parent
bf9a74c9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
product/ERP5Workflow/Document/Interaction.py
product/ERP5Workflow/Document/Interaction.py
+1
-1
product/ERP5Workflow/Document/State.py
product/ERP5Workflow/Document/State.py
+1
-0
product/ERP5Workflow/Document/Workflow.py
product/ERP5Workflow/Document/Workflow.py
+1
-3
No files found.
product/ERP5Workflow/Document/Interaction.py
View file @
7593486a
...
...
@@ -55,7 +55,7 @@ class Interaction(IdAsReferenceMixin('interaction_', "prefix"), XMLObject,
managed_permission_list
=
()
managed_role
=
()
erp5
_permission_roles
=
{}
# { permission: [role] or (role,) }
state
_permission_roles
=
{}
# { permission: [role] or (role,) }
manager_bypass
=
0
trigger_method_id
=
None
trigger_type
=
TRIGGER_WORKFLOW_METHOD
...
...
product/ERP5Workflow/Document/State.py
View file @
7593486a
...
...
@@ -66,6 +66,7 @@ class State(IdAsReferenceMixin("state_", "prefix"), XMLObject, CustomStorageMatr
isRADContent
=
1
default_reference
=
''
state_type
=
()
state_permission_roles
=
{}
# Declarative security
security
=
ClassSecurityInfo
()
...
...
product/ERP5Workflow/Document/Workflow.py
View file @
7593486a
...
...
@@ -44,8 +44,6 @@ from Products.CMFCore.WorkflowCore import WorkflowException, ObjectDeleted,\
ObjectMoved
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.DCWorkflow.Expression
import
StateChangeInfo
from
Products.DCWorkflowGraph.config
import
DOT_EXE
from
Products.DCWorkflowGraph.DCWorkflowGraph
import
bin_search
,
getGraph
from
Products.DCWorkflow.utils
import
Message
as
_
from
Products.DCWorkflow.utils
import
modifyRolesForPermission
from
Products.DCWorkflow.DCWorkflow
import
DCWorkflowDefinition
as
DCWorkflow
...
...
@@ -78,7 +76,7 @@ class Workflow(IdAsReferenceMixin("", "prefix"), XMLObject):
default_reference
=
''
workflow_managed_permission
=
()
managed_role
=
()
erp5
_permission_roles
=
{}
# { permission: [role] or (role,) }
state
_permission_roles
=
{}
# { permission: [role] or (role,) }
manager_bypass
=
0
# Declarative security
...
...
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