Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Romain Courteaud
erp5_rtl_support
Commits
afd3e061
Commit
afd3e061
authored
Sep 10, 2015
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_configurator_standard_solver: acquire permissions like portal types to avoid security issues
parent
be7b48f9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
67 additions
and
25 deletions
+67
-25
bt5/erp5_configurator_standard_solver/PathTemplateItem/portal_solvers/Accept%20Solver.xml
...olver/PathTemplateItem/portal_solvers/Accept%20Solver.xml
+55
-13
bt5/erp5_configurator_standard_solver/PathTemplateItem/portal_solvers/Adopt%20Solver.xml
...solver/PathTemplateItem/portal_solvers/Adopt%20Solver.xml
+12
-12
No files found.
bt5/erp5_configurator_standard_solver/PathTemplateItem/portal_solvers/Accept%20Solver.xml
View file @
afd3e061
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<item>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<value>
<
tuple
>
<
list
>
<string>
Assignee
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Associate
</string>
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<string>
Author
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Manager
</string>
<string>
Owner
</string>
<string>
Owner
</string>
</
tuple
>
</
list
>
</value>
</value>
</item>
</item>
<item>
<item>
...
@@ -36,20 +36,20 @@
...
@@ -36,20 +36,20 @@
<item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<value>
<
tuple
>
<
list
>
<string>
Assignee
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Associate
</string>
<string>
Author
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Manager
</string>
<string>
Owner
</string>
<string>
Owner
</string>
</
tuple
>
</
list
>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<value>
<
tuple
>
<
list
>
<string>
Assignee
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Associate
</string>
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
<string>
Author
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Manager
</string>
<string>
Owner
</string>
<string>
Owner
</string>
</
tuple
>
</
list
>
</value>
</value>
</item>
</item>
<item>
<item>
...
@@ -67,17 +67,29 @@
...
@@ -67,17 +67,29 @@
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_
mt_index
</string>
</key>
<key>
<string>
_
identity_criterion
</string>
</key>
<value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_
tree
</string>
</key>
<key>
<string>
_
mt_index
</string>
</key>
<value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
_range_criterion
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAU=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAY=
</string>
</persistent>
</value>
</item>
<item>
<item>
<key>
<string>
acquire_local_roles
</string>
</key>
<key>
<string>
acquire_local_roles
</string>
</key>
<value>
<int>
1
</int>
</value>
<value>
<int>
1
</int>
</value>
...
@@ -124,10 +136,6 @@
...
@@ -124,10 +136,6 @@
<none/>
<none/>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
last_id
</string>
</key>
<value>
<string>
2
</string>
</value>
</item>
<item>
<item>
<key>
<string>
line_exclusive
</string>
</key>
<key>
<string>
line_exclusive
</string>
</key>
<value>
<int>
0
</int>
</value>
<value>
<int>
0
</int>
</value>
...
@@ -150,6 +158,10 @@
...
@@ -150,6 +158,10 @@
<key>
<string>
solver_action_title
</string>
</key>
<key>
<string>
solver_action_title
</string>
</key>
<value>
<string>
Accept new value
</string>
</value>
<value>
<string>
Accept new value
</string>
</value>
</item>
</item>
<item>
<key>
<string>
type_class
</string>
</key>
<value>
<string>
AcceptSolver
</string>
</value>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
...
@@ -160,6 +172,21 @@
...
@@ -160,6 +172,21 @@
<pickle>
<int>
0
</int>
</pickle>
<pickle>
<int>
0
</int>
</pickle>
</record>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
</pickle>
...
@@ -167,7 +194,22 @@
...
@@ -167,7 +194,22 @@
<none/>
<none/>
</pickle>
</pickle>
</record>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"6"
aka=
"AAAAAAAAAAY="
>
<pickle>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
</pickle>
...
...
bt5/erp5_configurator_standard_solver/PathTemplateItem/portal_solvers/Adopt%20Solver.xml
View file @
afd3e061
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<item>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<value>
<
tuple
>
<
list
>
<string>
Assignee
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Associate
</string>
...
@@ -17,39 +17,39 @@
...
@@ -17,39 +17,39 @@
<string>
Author
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Manager
</string>
<string>
Owner
</string>
<string>
Owner
</string>
</
tuple
>
</
list
>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<value>
<
tuple
>
<
list
>
<string>
Assignee
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Associate
</string>
<string>
Author
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Manager
</string>
<string>
Owner
</string>
<string>
Owner
</string>
</
tuple
>
</
list
>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<value>
<
tuple
>
<
list
>
<string>
Assignee
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Associate
</string>
<string>
Author
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Manager
</string>
<string>
Owner
</string>
<string>
Owner
</string>
</
tuple
>
</
list
>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<value>
<
tuple
>
<
list
>
<string>
Assignee
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Associate
</string>
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
<string>
Author
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Manager
</string>
<string>
Owner
</string>
<string>
Owner
</string>
</
tuple
>
</
list
>
</value>
</value>
</item>
</item>
<item>
<item>
...
@@ -137,10 +137,6 @@
...
@@ -137,10 +137,6 @@
<none/>
<none/>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
last_id
</string>
</key>
<value>
<string>
2
</string>
</value>
</item>
<item>
<item>
<key>
<string>
permission
</string>
</key>
<key>
<string>
permission
</string>
</key>
<value>
<value>
...
@@ -155,6 +151,10 @@
...
@@ -155,6 +151,10 @@
<key>
<string>
solver_action_title
</string>
</key>
<key>
<string>
solver_action_title
</string>
</key>
<value>
<string>
Replace value
</string>
</value>
<value>
<string>
Replace value
</string>
</value>
</item>
</item>
<item>
<key>
<string>
type_class
</string>
</key>
<value>
<string>
AdoptSolver
</string>
</value>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
...
...
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