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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mikolaï Krol
erp5
Commits
f6ae22f1
Commit
f6ae22f1
authored
Aug 30, 2013
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove proxy role from security category scripts, because they are called from unrestricted method.
parent
6d7d2253
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
0 additions
and
78 deletions
+0
-78
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ERP5Type_getSecurityCategoryFromAssignmentStrict.xml
..._dms/ERP5Type_getSecurityCategoryFromAssignmentStrict.xml
+0
-8
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ERP5Type_getSecurityCategoryFromAssignmentTree.xml
...p5_dms/ERP5Type_getSecurityCategoryFromAssignmentTree.xml
+0
-9
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ERP5Type_getSecurityCategoryFromDestination.xml
.../erp5_dms/ERP5Type_getSecurityCategoryFromDestination.xml
+0
-8
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ERP5Type_getSecurityCategoryFromDestinationAssignment.xml
...ERP5Type_getSecurityCategoryFromDestinationAssignment.xml
+0
-8
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ERP5Type_getSecurityCategoryFromObjectAssignment.xml
..._dms/ERP5Type_getSecurityCategoryFromObjectAssignment.xml
+0
-8
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ERP5Type_getSecurityCategoryFromUser.xml
...l_skins/erp5_dms/ERP5Type_getSecurityCategoryFromUser.xml
+0
-8
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ERP5Type_getSecurityCategoryRoot.xml
...ortal_skins/erp5_dms/ERP5Type_getSecurityCategoryRoot.xml
+0
-8
bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_security/ERP5Type_getSecurityCategoryFromAssignmentTree.xml
...curity/ERP5Type_getSecurityCategoryFromAssignmentTree.xml
+0
-11
bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/ERP5Type_getSecurityCategoryFromMembershipCriterion.xml
...m/ERP5Type_getSecurityCategoryFromMembershipCriterion.xml
+0
-10
No files found.
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ERP5Type_getSecurityCategoryFromAssignmentStrict.xml
View file @
f6ae22f1
...
...
@@ -62,14 +62,6 @@ return context.ERP5Type_getSecurityCategoryFromAssignmentTree(base_category_list
<key>
<string>
_params
</string>
</key>
<value>
<string>
base_category_list, user_name, object, portal_type
</string>
</value>
</item>
<item>
<key>
<string>
_proxy_roles
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ERP5Type_getSecurityCategoryFromAssignmentStrict
</string>
</value>
...
...
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ERP5Type_getSecurityCategoryFromAssignmentTree.xml
View file @
f6ae22f1
...
...
@@ -63,7 +63,6 @@ Differences to the stock implementation:\n
(unless we say it is strict)\n
"""\n
\n
# XXX For now, this script requires proxy manager to retrieve the Person object in all cases\n
from Products.ERP5Type.Log import log\n
\n
category_list = []\n
...
...
@@ -121,14 +120,6 @@ return category_list\n
<key>
<string>
_params
</string>
</key>
<value>
<string>
base_category_list, user_name, object, portal_type, strict=False, root=False
</string>
</value>
</item>
<item>
<key>
<string>
_proxy_roles
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ERP5Type_getSecurityCategoryFromAssignmentTree
</string>
</value>
...
...
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ERP5Type_getSecurityCategoryFromDestination.xml
View file @
f6ae22f1
...
...
@@ -78,14 +78,6 @@ return category_list\n
<key>
<string>
_params
</string>
</key>
<value>
<string>
base_category_list, user_name, object, portal_type
</string>
</value>
</item>
<item>
<key>
<string>
_proxy_roles
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ERP5Type_getSecurityCategoryFromDestination
</string>
</value>
...
...
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ERP5Type_getSecurityCategoryFromDestinationAssignment.xml
View file @
f6ae22f1
...
...
@@ -80,14 +80,6 @@ return category_list\n
<key>
<string>
_params
</string>
</key>
<value>
<string>
base_category_list, user_name, object, portal_type
</string>
</value>
</item>
<item>
<key>
<string>
_proxy_roles
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ERP5Type_getSecurityCategoryFromDestinationAssignment
</string>
</value>
...
...
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ERP5Type_getSecurityCategoryFromObjectAssignment.xml
View file @
f6ae22f1
...
...
@@ -84,14 +84,6 @@ return category_list\n
<key>
<string>
_params
</string>
</key>
<value>
<string>
base_category_list, user_name, object, portal_type
</string>
</value>
</item>
<item>
<key>
<string>
_proxy_roles
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ERP5Type_getSecurityCategoryFromObjectAssignment
</string>
</value>
...
...
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ERP5Type_getSecurityCategoryFromUser.xml
View file @
f6ae22f1
...
...
@@ -93,14 +93,6 @@ return category_list\n
<key>
<string>
_params
</string>
</key>
<value>
<string>
base_category_list, user_name, object, portal_type
</string>
</value>
</item>
<item>
<key>
<string>
_proxy_roles
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ERP5Type_getSecurityCategoryFromUser
</string>
</value>
...
...
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ERP5Type_getSecurityCategoryRoot.xml
View file @
f6ae22f1
...
...
@@ -65,14 +65,6 @@ return context.ERP5Type_getSecurityCategoryFromAssignmentTree(base_category_list
<key>
<string>
_params
</string>
</key>
<value>
<string>
base_category_list, user_name, object, portal_type
</string>
</value>
</item>
<item>
<key>
<string>
_proxy_roles
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ERP5Type_getSecurityCategoryRoot
</string>
</value>
...
...
bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_security/ERP5Type_getSecurityCategoryFromAssignmentTree.xml
View file @
f6ae22f1
...
...
@@ -63,8 +63,6 @@ Differences to the stock implementation:\n
(unless we say it is strict)\n
"""\n
\n
\n
# XXX For now, this script requires proxy manager to retrieve the Person object in all cases\n
from Products.ERP5Type.Log import log\n
\n
category_list = []\n
...
...
@@ -126,15 +124,6 @@ return category_list\n
<key>
<string>
_params
</string>
</key>
<value>
<string>
base_category_list, user_name, object, portal_type, strict=False, root=False
</string>
</value>
</item>
<item>
<key>
<string>
_proxy_roles
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ERP5Type_getSecurityCategoryFromAssignmentTree
</string>
</value>
...
...
bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/ERP5Type_getSecurityCategoryFromMembershipCriterion.xml
View file @
f6ae22f1
...
...
@@ -66,8 +66,6 @@ The parameters are\n
user_name -- the user identifier (not used)\n
object -- object which we want to assign roles to\n
portal_type -- portal type of object\n
\n
NOTE: for now, this script requires proxy manager\n
"""\n
\n
category_list = []\n
...
...
@@ -90,14 +88,6 @@ return category_list\n
<key>
<string>
_params
</string>
</key>
<value>
<string>
base_category_list, user_name, object, portal_type
</string>
</value>
</item>
<item>
<key>
<string>
_proxy_roles
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ERP5Type_getSecurityCategoryFromMembershipCriterion
</string>
</value>
...
...
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