Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Rafael Monnerat
slapos.core
Commits
68d63056
Commit
68d63056
authored
Aug 05, 2020
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_erp5: Fix up Naminig convention
parent
41c7c2ad
Pipeline
#10835
failed with stage
in 0 seconds
Changes
29
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
109 additions
and
109 deletions
+109
-109
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Computer%20Partition.xml
...erp5/PortalTypeRolesTemplateItem/Computer%20Partition.xml
+1
-1
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Computer.xml
.../bt5/slapos_erp5/PortalTypeRolesTemplateItem/Computer.xml
+1
-1
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Payment%20Transaction.xml
...rp5/PortalTypeRolesTemplateItem/Payment%20Transaction.xml
+1
-1
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Payzen%20Event.xml
...lapos_erp5/PortalTypeRolesTemplateItem/Payzen%20Event.xml
+1
-1
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Person.xml
...er/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Person.xml
+1
-1
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Slave%20Instance.xml
...pos_erp5/PortalTypeRolesTemplateItem/Slave%20Instance.xml
+3
-3
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Software%20Instance.xml
..._erp5/PortalTypeRolesTemplateItem/Software%20Instance.xml
+2
-2
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Wechat%20Event.xml
...lapos_erp5/PortalTypeRolesTemplateItem/Wechat%20Event.xml
+1
-1
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_administration/expected_portal_skins_dumped_configuration.txt
...nistration/expected_portal_skins_dumped_configuration.txt
+8
-8
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_administration/expected_role_dumped_configuration.txt
...pos_administration/expected_role_dumped_configuration.txt
+11
-11
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/ComputerPartition_getSecurityCategoryFromUser.py
...pos_core/ComputerPartition_getSecurityCategoryFromUser.py
+0
-0
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/ComputerPartition_getSecurityCategoryFromUser.xml
...os_core/ComputerPartition_getSecurityCategoryFromUser.xml
+1
-1
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/Computer_getSecurityCategoryFromAllocationScope.py
...s_core/Computer_getSecurityCategoryFromAllocationScope.py
+0
-0
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/Computer_getSecurityCategoryFromAllocationScope.xml
..._core/Computer_getSecurityCategoryFromAllocationScope.xml
+1
-1
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/PaymentTransaction_getSecurityCategoryFromUser.py
...os_core/PaymentTransaction_getSecurityCategoryFromUser.py
+0
-0
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/PaymentTransaction_getSecurityCategoryFromUser.xml
...s_core/PaymentTransaction_getSecurityCategoryFromUser.xml
+70
-0
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/PayzenEvent_getSecurityCategoryFromUser.py
...ns/slapos_core/PayzenEvent_getSecurityCategoryFromUser.py
+1
-1
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/PayzenEvent_getSecurityCategoryFromUser.xml
...s/slapos_core/PayzenEvent_getSecurityCategoryFromUser.xml
+1
-1
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/Person_getSecurityCategoryFromSelfShadow.py
...s/slapos_core/Person_getSecurityCategoryFromSelfShadow.py
+0
-0
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/Person_getSecurityCategoryFromSelfShadow.xml
.../slapos_core/Person_getSecurityCategoryFromSelfShadow.xml
+1
-1
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/SlaveInstanceType_getSecurityCategoryFromSoftwareInstance.xml
...eInstanceType_getSecurityCategoryFromSoftwareInstance.xml
+0
-70
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/SlaveInstance_getSecurityCategoryFromSoftwareInstance.py
.../SlaveInstance_getSecurityCategoryFromSoftwareInstance.py
+0
-0
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/SlaveInstance_getSecurityCategoryFromSoftwareInstance.xml
...SlaveInstance_getSecurityCategoryFromSoftwareInstance.xml
+1
-1
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/SoftwareInstance_getSecurityCategoryFromMovementSpecialiseDestination.py
...e_getSecurityCategoryFromMovementSpecialiseDestination.py
+0
-0
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/SoftwareInstance_getSecurityCategoryFromMovementSpecialiseDestination.xml
..._getSecurityCategoryFromMovementSpecialiseDestination.xml
+1
-1
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/SoftwareInstance_getSecurityCategoryFromMovementSpecialiseDestinationProject.py
...curityCategoryFromMovementSpecialiseDestinationProject.py
+0
-0
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/SoftwareInstance_getSecurityCategoryFromMovementSpecialiseDestinationProject.xml
...urityCategoryFromMovementSpecialiseDestinationProject.xml
+1
-1
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/SoftwareInstance_getSecurityCategoryFromUser.py
...apos_core/SoftwareInstance_getSecurityCategoryFromUser.py
+0
-0
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/SoftwareInstance_getSecurityCategoryFromUser.xml
...pos_core/SoftwareInstance_getSecurityCategoryFromUser.xml
+1
-1
No files found.
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Computer%20Partition.xml
View file @
68d63056
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<role
id=
'Auditor'
>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Customer of the partition
</property>
<property
id=
'title'
>
Customer of the partition
</property>
<property
id=
'condition'
>
python: here.getSlapState() == "busy"
</property>
<property
id=
'condition'
>
python: here.getSlapState() == "busy"
</property>
<property
id=
'base_category_script'
>
PartitionType
_getSecurityCategoryFromUser
</property>
<property
id=
'base_category_script'
>
ComputerPartition
_getSecurityCategoryFromUser
</property>
<multi_property
id=
'categories'
>
local_role_group/user
</multi_property>
<multi_property
id=
'categories'
>
local_role_group/user
</multi_property>
<multi_property
id=
'base_category'
>
destination_section
</multi_property>
<multi_property
id=
'base_category'
>
destination_section
</multi_property>
</role>
</role>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Computer.xml
View file @
68d63056
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<role
id=
'Auditor'
>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Allocation scope
</property>
<property
id=
'title'
>
Allocation scope
</property>
<property
id=
'condition'
>
python: here.getAllocationScope('').startswith('open')
</property>
<property
id=
'condition'
>
python: here.getAllocationScope('').startswith('open')
</property>
<property
id=
'base_category_script'
>
Computer
Type
_getSecurityCategoryFromAllocationScope
</property>
<property
id=
'base_category_script'
>
Computer_getSecurityCategoryFromAllocationScope
</property>
<multi_property
id=
'categories'
>
local_role_group/shadow
</multi_property>
<multi_property
id=
'categories'
>
local_role_group/shadow
</multi_property>
<multi_property
id=
'base_category'
>
aggregate
</multi_property>
<multi_property
id=
'base_category'
>
aggregate
</multi_property>
</role>
</role>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Payment%20Transaction.xml
View file @
68d63056
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<role
id=
'Auditor'
>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Shadow User
</property>
<property
id=
'title'
>
Shadow User
</property>
<property
id=
'condition'
>
python: here.getDestinationSection('', portal_type='Person') != ''
</property>
<property
id=
'condition'
>
python: here.getDestinationSection('', portal_type='Person') != ''
</property>
<property
id=
'base_category_script'
>
PaymentTransaction
Type
_getSecurityCategoryFromUser
</property>
<property
id=
'base_category_script'
>
PaymentTransaction_getSecurityCategoryFromUser
</property>
<multi_property
id=
'categories'
>
local_role_group/shadow
</multi_property>
<multi_property
id=
'categories'
>
local_role_group/shadow
</multi_property>
<multi_property
id=
'base_category'
>
aggregate
</multi_property>
<multi_property
id=
'base_category'
>
aggregate
</multi_property>
</role>
</role>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Payzen%20Event.xml
View file @
68d63056
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<role
id=
'Assignee'
>
<role
id=
'Assignee'
>
<property
id=
'title'
>
Shadow User
</property>
<property
id=
'title'
>
Shadow User
</property>
<property
id=
'condition'
>
python: here.getDestinationSection('', portal_type='Person') != ''
</property>
<property
id=
'condition'
>
python: here.getDestinationSection('', portal_type='Person') != ''
</property>
<property
id=
'base_category_script'
>
PayzenEvent
Type
_getSecurityCategoryFromUser
</property>
<property
id=
'base_category_script'
>
PayzenEvent_getSecurityCategoryFromUser
</property>
<multi_property
id=
'categories'
>
local_role_group/shadow
</multi_property>
<multi_property
id=
'categories'
>
local_role_group/shadow
</multi_property>
<multi_property
id=
'base_category'
>
aggregate
</multi_property>
<multi_property
id=
'base_category'
>
aggregate
</multi_property>
</role>
</role>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Person.xml
View file @
68d63056
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<property
id=
'title'
>
The Shadow User Himself
</property>
<property
id=
'title'
>
The Shadow User Himself
</property>
<property
id=
'description'
>
Monovalued role
</property>
<property
id=
'description'
>
Monovalued role
</property>
<property
id=
'condition'
>
python: here.objectValues(portal_type=["ERP5 Login", "Google Login", "Facebook Login", "Certificate Login"])
</property>
<property
id=
'condition'
>
python: here.objectValues(portal_type=["ERP5 Login", "Google Login", "Facebook Login", "Certificate Login"])
</property>
<property
id=
'base_category_script'
>
Person
Type
_getSecurityCategoryFromSelfShadow
</property>
<property
id=
'base_category_script'
>
Person_getSecurityCategoryFromSelfShadow
</property>
<multi_property
id=
'categories'
>
local_role_group/shadow
</multi_property>
<multi_property
id=
'categories'
>
local_role_group/shadow
</multi_property>
<multi_property
id=
'base_category'
>
group
</multi_property>
<multi_property
id=
'base_category'
>
group
</multi_property>
</role>
</role>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Slave%20Instance.xml
View file @
68d63056
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
</role>
</role>
<role
id=
'Assignee'
>
<role
id=
'Assignee'
>
<property
id=
'title'
>
Customer of the Instance
</property>
<property
id=
'title'
>
Customer of the Instance
</property>
<property
id=
'base_category_script'
>
InstanceTyp
e_getSecurityCategoryFromUser
</property>
<property
id=
'base_category_script'
>
SoftwareInstanc
e_getSecurityCategoryFromUser
</property>
<multi_property
id=
'categories'
>
local_role_group/user
</multi_property>
<multi_property
id=
'categories'
>
local_role_group/user
</multi_property>
<multi_property
id=
'base_category'
>
destination_section
</multi_property>
<multi_property
id=
'base_category'
>
destination_section
</multi_property>
</role>
</role>
...
@@ -31,13 +31,13 @@
...
@@ -31,13 +31,13 @@
</role>
</role>
<role
id=
'Assignee'
>
<role
id=
'Assignee'
>
<property
id=
'title'
>
Project Member
</property>
<property
id=
'title'
>
Project Member
</property>
<property
id=
'base_category_script'
>
Instance_getSecurityCategoryFromMovementSpecialiseDestinationProject
</property>
<property
id=
'base_category_script'
>
Software
Instance_getSecurityCategoryFromMovementSpecialiseDestinationProject
</property>
<multi_property
id=
'categories'
>
local_role_group/project
</multi_property>
<multi_property
id=
'categories'
>
local_role_group/project
</multi_property>
<multi_property
id=
'base_category'
>
destination_project
</multi_property>
<multi_property
id=
'base_category'
>
destination_project
</multi_property>
</role>
</role>
<role
id=
'Assignor'
>
<role
id=
'Assignor'
>
<property
id=
'title'
>
Software Instance which provides this Slave Instance
</property>
<property
id=
'title'
>
Software Instance which provides this Slave Instance
</property>
<property
id=
'base_category_script'
>
SlaveInstance
Type
_getSecurityCategoryFromSoftwareInstance
</property>
<property
id=
'base_category_script'
>
SlaveInstance_getSecurityCategoryFromSoftwareInstance
</property>
<multi_property
id=
'base_category'
>
aggregate
</multi_property>
<multi_property
id=
'base_category'
>
aggregate
</multi_property>
</role>
</role>
</type_roles>
</type_roles>
\ No newline at end of file
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Software%20Instance.xml
View file @
68d63056
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
</role>
</role>
<role
id=
'Assignee'
>
<role
id=
'Assignee'
>
<property
id=
'title'
>
Customer of the Instance
</property>
<property
id=
'title'
>
Customer of the Instance
</property>
<property
id=
'base_category_script'
>
InstanceTyp
e_getSecurityCategoryFromUser
</property>
<property
id=
'base_category_script'
>
SoftwareInstanc
e_getSecurityCategoryFromUser
</property>
<multi_property
id=
'categories'
>
local_role_group/user
</multi_property>
<multi_property
id=
'categories'
>
local_role_group/user
</multi_property>
<multi_property
id=
'base_category'
>
destination_section
</multi_property>
<multi_property
id=
'base_category'
>
destination_section
</multi_property>
</role>
</role>
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
</role>
</role>
<role
id=
'Assignee'
>
<role
id=
'Assignee'
>
<property
id=
'title'
>
Project Member
</property>
<property
id=
'title'
>
Project Member
</property>
<property
id=
'base_category_script'
>
Instance_getSecurityCategoryFromMovementSpecialiseDestinationProject
</property>
<property
id=
'base_category_script'
>
Software
Instance_getSecurityCategoryFromMovementSpecialiseDestinationProject
</property>
<multi_property
id=
'categories'
>
local_role_group/project
</multi_property>
<multi_property
id=
'categories'
>
local_role_group/project
</multi_property>
<multi_property
id=
'base_category'
>
destination_project
</multi_property>
<multi_property
id=
'base_category'
>
destination_project
</multi_property>
</role>
</role>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Wechat%20Event.xml
View file @
68d63056
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<role
id=
'Assignee'
>
<role
id=
'Assignee'
>
<property
id=
'title'
>
Shadow User
</property>
<property
id=
'title'
>
Shadow User
</property>
<property
id=
'condition'
>
python: here.getDestinationSection('', portal_type='Person') != ''
</property>
<property
id=
'condition'
>
python: here.getDestinationSection('', portal_type='Person') != ''
</property>
<property
id=
'base_category_script'
>
PayzenEvent
Type
_getSecurityCategoryFromUser
</property>
<property
id=
'base_category_script'
>
PayzenEvent_getSecurityCategoryFromUser
</property>
<multi_property
id=
'categories'
>
local_role_group/shadow
</multi_property>
<multi_property
id=
'categories'
>
local_role_group/shadow
</multi_property>
<multi_property
id=
'base_category'
>
aggregate
</multi_property>
<multi_property
id=
'base_category'
>
aggregate
</multi_property>
</role>
</role>
...
...
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_administration/expected_portal_skins_dumped_configuration.txt
View file @
68d63056
...
@@ -3900,7 +3900,7 @@ slapos_contract;CloudContractModule_viewCloudContractList;ERP5 Form;567bc1d268f1
...
@@ -3900,7 +3900,7 @@ slapos_contract;CloudContractModule_viewCloudContractList;ERP5 Form;567bc1d268f1
slapos_contract;CloudContract_view;ERP5 Form;567bc1d268f135496de3d5b946b691f3
slapos_contract;CloudContract_view;ERP5 Form;567bc1d268f135496de3d5b946b691f3
slapos_contract;Person_isAllowedToAllocate;Script (Python);1011560d667674a6dc682278576fdac3
slapos_contract;Person_isAllowedToAllocate;Script (Python);1011560d667674a6dc682278576fdac3
slapos_contract;SoftwareInstance_requestValidationPayment;Script (Python);870ea0066ada7e7c82927fe6cdb699bc
slapos_contract;SoftwareInstance_requestValidationPayment;Script (Python);870ea0066ada7e7c82927fe6cdb699bc
slapos_core;Computer
Type
_getSecurityCategoryFromAllocationScope;Script (Python);026c89445871f2338f2b2f7516f62b5e
slapos_core;Computer_getSecurityCategoryFromAllocationScope;Script (Python);026c89445871f2338f2b2f7516f62b5e
slapos_core;ERP5Site_viewWorklist;ERP5 Form;567bc1d268f135496de3d5b946b691f3
slapos_core;ERP5Site_viewWorklist;ERP5 Form;567bc1d268f135496de3d5b946b691f3
slapos_core;ERP5Type_acquireSecurityFromOwner;Script (Python);6b0ecba5c6bd74065cbc83d2a823f4a3
slapos_core;ERP5Type_acquireSecurityFromOwner;Script (Python);6b0ecba5c6bd74065cbc83d2a823f4a3
slapos_core;ERP5Type_getComputerSecurityCategory;External Method;d41d8cd98f00b204e9800998ecf8427e
slapos_core;ERP5Type_getComputerSecurityCategory;External Method;d41d8cd98f00b204e9800998ecf8427e
...
@@ -3910,19 +3910,19 @@ slapos_core;ERP5Type_getSecurityCategoryFromContentParent;Script (Python);5331a6
...
@@ -3910,19 +3910,19 @@ slapos_core;ERP5Type_getSecurityCategoryFromContentParent;Script (Python);5331a6
slapos_core;ERP5Type_getSecurityCategoryFromParent;Script (Python);a8d13633bb50363ea5b180f8d65ccde8
slapos_core;ERP5Type_getSecurityCategoryFromParent;Script (Python);a8d13633bb50363ea5b180f8d65ccde8
slapos_core;ERP5Type_getSecurityCategoryMapping;Script (Python);c488f23e5ce532818351e35b7677b8f7
slapos_core;ERP5Type_getSecurityCategoryMapping;Script (Python);c488f23e5ce532818351e35b7677b8f7
slapos_core;ERP5Type_getSoftwareInstanceSecurityCategory;External Method;d41d8cd98f00b204e9800998ecf8427e
slapos_core;ERP5Type_getSoftwareInstanceSecurityCategory;External Method;d41d8cd98f00b204e9800998ecf8427e
slapos_core;
InstanceTyp
e_getSecurityCategoryFromUser;Script (Python);6ef7c7d387802d420282ae13a4bd7de6
slapos_core;
SoftwareInstanc
e_getSecurityCategoryFromUser;Script (Python);6ef7c7d387802d420282ae13a4bd7de6
slapos_core;Instance_getSecurityCategoryFromMovementSpecialiseDestination;Script (Python);856f6ba3157e8ea3c78b2d590345d68d
slapos_core;Instance_getSecurityCategoryFromMovementSpecialiseDestination;Script (Python);856f6ba3157e8ea3c78b2d590345d68d
slapos_core;Instance_getSecurityCategoryFromMovementSpecialiseDestinationProject;Script (Python);e3c875ff319f7242f3eeb480c0db499d
slapos_core;
Software
Instance_getSecurityCategoryFromMovementSpecialiseDestinationProject;Script (Python);e3c875ff319f7242f3eeb480c0db499d
slapos_core;Item_getSecurityCategoryFromMovementAggregateDestinationProject;Script (Python);f3b6a577753f82221a7aa6dc7b78f730
slapos_core;Item_getSecurityCategoryFromMovementAggregateDestinationProject;Script (Python);f3b6a577753f82221a7aa6dc7b78f730
slapos_core;Item_getSecurityCategoryFromMovementAggregateDestinationSection;Script (Python);32945204cbeca4d40ecd308649803c84
slapos_core;Item_getSecurityCategoryFromMovementAggregateDestinationSection;Script (Python);32945204cbeca4d40ecd308649803c84
slapos_core;Item_getSecurityCategoryFromMovementDestination;Script (Python);3a29e4120d2afcbe0472a6a7716042f5
slapos_core;Item_getSecurityCategoryFromMovementDestination;Script (Python);3a29e4120d2afcbe0472a6a7716042f5
slapos_core;Item_getSecurityCategoryFromMovementDestinationProject;Script (Python);88fe76159d022151d8373d3d0cc7cbfe
slapos_core;Item_getSecurityCategoryFromMovementDestinationProject;Script (Python);88fe76159d022151d8373d3d0cc7cbfe
slapos_core;Item_getSecurityCategoryFromMovementDestinationSection;Script (Python);2f02ca4fd91d6266adb0b8ac52bf54f6
slapos_core;Item_getSecurityCategoryFromMovementDestinationSection;Script (Python);2f02ca4fd91d6266adb0b8ac52bf54f6
slapos_core;
PartitionType
_getSecurityCategoryFromUser;Script (Python);1890e2a89e76cdf93b9180c7b345e6a6
slapos_core;
ComputerPartition
_getSecurityCategoryFromUser;Script (Python);1890e2a89e76cdf93b9180c7b345e6a6
slapos_core;PaymentTransaction
Type
_getSecurityCategoryFromUser;Script (Python);62c11bd590265c8ab24574a923d44e7d
slapos_core;PaymentTransaction_getSecurityCategoryFromUser;Script (Python);62c11bd590265c8ab24574a923d44e7d
slapos_core;PayzenEvent
Type
_getSecurityCategoryFromUser;Script (Python);ae3782f48d74f8b3f076212ac6ad8afc
slapos_core;PayzenEvent_getSecurityCategoryFromUser;Script (Python);ae3782f48d74f8b3f076212ac6ad8afc
slapos_core;Person
Type
_getSecurityCategoryFromSelfShadow;Script (Python);fc74fcc1cad0ada14b9b6c3d4b77a5a1
slapos_core;Person_getSecurityCategoryFromSelfShadow;Script (Python);fc74fcc1cad0ada14b9b6c3d4b77a5a1
slapos_core;SlaveInstance
Type
_getSecurityCategoryFromSoftwareInstance;Script (Python);5f8786f3df83a837ab947fc5d15f5cae
slapos_core;SlaveInstance_getSecurityCategoryFromSoftwareInstance;Script (Python);5f8786f3df83a837ab947fc5d15f5cae
slapos_crm;Alarm_cancelInvoiceRelatedToSuspendedRegularisationRequest;Script (Python);8fe12acf0214090c706ed25f56f4be44
slapos_crm;Alarm_cancelInvoiceRelatedToSuspendedRegularisationRequest;Script (Python);8fe12acf0214090c706ed25f56f4be44
slapos_crm;Alarm_createRegularisationRequest;Script (Python);03d5146c85e93af9d03df0ac3219248a
slapos_crm;Alarm_createRegularisationRequest;Script (Python);03d5146c85e93af9d03df0ac3219248a
slapos_crm;Alarm_deleteHostingSubscriptionFromRegularisationRequest;Script (Python);85544411d0dee68a7ffe4b3415a21046
slapos_crm;Alarm_deleteHostingSubscriptionFromRegularisationRequest;Script (Python);85544411d0dee68a7ffe4b3415a21046
...
...
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_administration/expected_role_dumped_configuration.txt
View file @
68d63056
...
@@ -283,7 +283,7 @@ Computer
...
@@ -283,7 +283,7 @@ Computer
Condition: python: here.getAllocationScope('').startswith('open')
Condition: python: here.getAllocationScope('').startswith('open')
Local Roles Group Id: shadow
Local Roles Group Id: shadow
Base Categories: ['aggregate']
Base Categories: ['aggregate']
Base Category Script: Computer
Type
_getSecurityCategoryFromAllocationScope
Base Category Script: Computer_getSecurityCategoryFromAllocationScope
Categories: []
Categories: []
Computer
Computer
...
@@ -499,7 +499,7 @@ Computer Partition
...
@@ -499,7 +499,7 @@ Computer Partition
Condition: python: here.getSlapState() == "busy"
Condition: python: here.getSlapState() == "busy"
Local Roles Group Id: user
Local Roles Group Id: user
Base Categories: ['destination_section']
Base Categories: ['destination_section']
Base Category Script:
PartitionType
_getSecurityCategoryFromUser
Base Category Script:
ComputerPartition
_getSecurityCategoryFromUser
Categories: []
Categories: []
Computer Partition
Computer Partition
...
@@ -1300,7 +1300,7 @@ Payment Transaction
...
@@ -1300,7 +1300,7 @@ Payment Transaction
Condition: python: here.getDestinationSection('', portal_type='Person') != ''
Condition: python: here.getDestinationSection('', portal_type='Person') != ''
Local Roles Group Id: shadow
Local Roles Group Id: shadow
Base Categories: ['aggregate']
Base Categories: ['aggregate']
Base Category Script: PaymentTransaction
Type
_getSecurityCategoryFromUser
Base Category Script: PaymentTransaction_getSecurityCategoryFromUser
Categories: []
Categories: []
Payment Transaction
Payment Transaction
...
@@ -1327,7 +1327,7 @@ Payzen Event
...
@@ -1327,7 +1327,7 @@ Payzen Event
Condition: python: here.getDestinationSection('', portal_type='Person') != ''
Condition: python: here.getDestinationSection('', portal_type='Person') != ''
Local Roles Group Id: shadow
Local Roles Group Id: shadow
Base Categories: ['aggregate']
Base Categories: ['aggregate']
Base Category Script: PayzenEvent
Type
_getSecurityCategoryFromUser
Base Category Script: PayzenEvent_getSecurityCategoryFromUser
Categories: []
Categories: []
Person
Person
...
@@ -1345,7 +1345,7 @@ Person
...
@@ -1345,7 +1345,7 @@ Person
Condition: python: here.objectValues(portal_type=["ERP5 Login", "Google Login", "Facebook Login", "Certificate Login"])
Condition: python: here.objectValues(portal_type=["ERP5 Login", "Google Login", "Facebook Login", "Certificate Login"])
Local Roles Group Id: shadow
Local Roles Group Id: shadow
Base Categories: ['group']
Base Categories: ['group']
Base Category Script: Person
Type
_getSecurityCategoryFromSelfShadow
Base Category Script: Person_getSecurityCategoryFromSelfShadow
Categories: []
Categories: []
Person
Person
...
@@ -1885,7 +1885,7 @@ Slave Instance
...
@@ -1885,7 +1885,7 @@ Slave Instance
Condition: None
Condition: None
Local Roles Group Id: user
Local Roles Group Id: user
Base Categories: ['destination_section']
Base Categories: ['destination_section']
Base Category Script:
InstanceTyp
e_getSecurityCategoryFromUser
Base Category Script:
SoftwareInstanc
e_getSecurityCategoryFromUser
Categories: []
Categories: []
Slave Instance
Slave Instance
...
@@ -1921,7 +1921,7 @@ Slave Instance
...
@@ -1921,7 +1921,7 @@ Slave Instance
Condition: None
Condition: None
Local Roles Group Id: project
Local Roles Group Id: project
Base Categories: ['destination_project']
Base Categories: ['destination_project']
Base Category Script: Instance_getSecurityCategoryFromMovementSpecialiseDestinationProject
Base Category Script:
Software
Instance_getSecurityCategoryFromMovementSpecialiseDestinationProject
Categories: []
Categories: []
Slave Instance
Slave Instance
...
@@ -1930,7 +1930,7 @@ Slave Instance
...
@@ -1930,7 +1930,7 @@ Slave Instance
Condition: None
Condition: None
Local Roles Group Id: None
Local Roles Group Id: None
Base Categories: ['aggregate']
Base Categories: ['aggregate']
Base Category Script: SlaveInstance
Type
_getSecurityCategoryFromSoftwareInstance
Base Category Script: SlaveInstance_getSecurityCategoryFromSoftwareInstance
Categories: []
Categories: []
Software Installation
Software Installation
...
@@ -2020,7 +2020,7 @@ Software Instance
...
@@ -2020,7 +2020,7 @@ Software Instance
Condition: None
Condition: None
Local Roles Group Id: user
Local Roles Group Id: user
Base Categories: ['destination_section']
Base Categories: ['destination_section']
Base Category Script:
InstanceTyp
e_getSecurityCategoryFromUser
Base Category Script:
SoftwareInstanc
e_getSecurityCategoryFromUser
Categories: []
Categories: []
Software Instance
Software Instance
...
@@ -2056,7 +2056,7 @@ Software Instance
...
@@ -2056,7 +2056,7 @@ Software Instance
Condition: None
Condition: None
Local Roles Group Id: project
Local Roles Group Id: project
Base Categories: ['destination_project']
Base Categories: ['destination_project']
Base Category Script: Instance_getSecurityCategoryFromMovementSpecialiseDestinationProject
Base Category Script:
Software
Instance_getSecurityCategoryFromMovementSpecialiseDestinationProject
Categories: []
Categories: []
Software Instance Module
Software Instance Module
...
@@ -2434,6 +2434,6 @@ Wechat Event
...
@@ -2434,6 +2434,6 @@ Wechat Event
Condition: python: here.getDestinationSection('', portal_type='Person') != ''
Condition: python: here.getDestinationSection('', portal_type='Person') != ''
Local Roles Group Id: shadow
Local Roles Group Id: shadow
Base Categories: ['aggregate']
Base Categories: ['aggregate']
Base Category Script: PayzenEvent
Type
_getSecurityCategoryFromUser
Base Category Script: PayzenEvent_getSecurityCategoryFromUser
Categories: []
Categories: []
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/
PartitionType
_getSecurityCategoryFromUser.py
→
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/
ComputerPartition
_getSecurityCategoryFromUser.py
View file @
68d63056
File moved
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/
PartitionType
_getSecurityCategoryFromUser.xml
→
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/
ComputerPartition
_getSecurityCategoryFromUser.xml
View file @
68d63056
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
PartitionType
_getSecurityCategoryFromUser
</string>
</value>
<value>
<string>
ComputerPartition
_getSecurityCategoryFromUser
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/Computer
Type
_getSecurityCategoryFromAllocationScope.py
→
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/Computer_getSecurityCategoryFromAllocationScope.py
View file @
68d63056
File moved
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/
PaymentTransactionType_getSecurityCategoryFromUser
.xml
→
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/
Computer_getSecurityCategoryFromAllocationScope
.xml
View file @
68d63056
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
PaymentTransactionType_getSecurityCategoryFromUser
</string>
</value>
<value>
<string>
Computer_getSecurityCategoryFromAllocationScope
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/PaymentTransaction
Type
_getSecurityCategoryFromUser.py
→
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/PaymentTransaction_getSecurityCategoryFromUser.py
View file @
68d63056
File moved
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/PaymentTransaction_getSecurityCategoryFromUser.xml
0 → 100644
View file @
68d63056
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
base_category_list, user_name, obj, 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>
PaymentTransaction_getSecurityCategoryFromUser
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/PayzenEvent
Type
_getSecurityCategoryFromUser.py
→
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/PayzenEvent_getSecurityCategoryFromUser.py
View file @
68d63056
...
@@ -32,7 +32,7 @@ if obj is None:
...
@@ -32,7 +32,7 @@ if obj is None:
person
=
obj
.
getDestinationSectionValue
(
portal_type
=
"Person"
)
person
=
obj
.
getDestinationSectionValue
(
portal_type
=
"Person"
)
if
person
is
not
None
:
if
person
is
not
None
:
for
base_category
in
base_category_list
:
if
base_category_list
:
return
{
"Assignee"
:
[
"SHADOW-%s"
%
person
.
getUserId
()]}
return
{
"Assignee"
:
[
"SHADOW-%s"
%
person
.
getUserId
()]}
return
category_list
return
category_list
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/
InstanceType
_getSecurityCategoryFromUser.xml
→
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/
PayzenEvent
_getSecurityCategoryFromUser.xml
View file @
68d63056
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
InstanceType
_getSecurityCategoryFromUser
</string>
</value>
<value>
<string>
PayzenEvent
_getSecurityCategoryFromUser
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/Person
Type
_getSecurityCategoryFromSelfShadow.py
→
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/Person_getSecurityCategoryFromSelfShadow.py
View file @
68d63056
File moved
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/Person
Type
_getSecurityCategoryFromSelfShadow.xml
→
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/Person_getSecurityCategoryFromSelfShadow.xml
View file @
68d63056
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
Person
Type
_getSecurityCategoryFromSelfShadow
</string>
</value>
<value>
<string>
Person_getSecurityCategoryFromSelfShadow
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/SlaveInstanceType_getSecurityCategoryFromSoftwareInstance.xml
deleted
100644 → 0
View file @
41c7c2ad
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
base_category_list, user_name, obj, 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>
SlaveInstanceType_getSecurityCategoryFromSoftwareInstance
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/SlaveInstance
Type
_getSecurityCategoryFromSoftwareInstance.py
→
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/SlaveInstance_getSecurityCategoryFromSoftwareInstance.py
View file @
68d63056
File moved
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/
ComputerType_getSecurityCategoryFromAllocationScop
e.xml
→
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/
SlaveInstance_getSecurityCategoryFromSoftwareInstanc
e.xml
View file @
68d63056
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
ComputerType_getSecurityCategoryFromAllocationScop
e
</string>
</value>
<value>
<string>
SlaveInstance_getSecurityCategoryFromSoftwareInstanc
e
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/Instance_getSecurityCategoryFromMovementSpecialiseDestination.py
→
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/
Software
Instance_getSecurityCategoryFromMovementSpecialiseDestination.py
View file @
68d63056
File moved
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/Instance_getSecurityCategoryFromMovementSpecialiseDestination.xml
→
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/
Software
Instance_getSecurityCategoryFromMovementSpecialiseDestination.xml
View file @
68d63056
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
Instance_getSecurityCategoryFromMovementSpecialiseDestination
</string>
</value>
<value>
<string>
Software
Instance_getSecurityCategoryFromMovementSpecialiseDestination
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/Instance_getSecurityCategoryFromMovementSpecialiseDestinationProject.py
→
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/
Software
Instance_getSecurityCategoryFromMovementSpecialiseDestinationProject.py
View file @
68d63056
File moved
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/Instance_getSecurityCategoryFromMovementSpecialiseDestinationProject.xml
→
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/
Software
Instance_getSecurityCategoryFromMovementSpecialiseDestinationProject.xml
View file @
68d63056
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
Instance_getSecurityCategoryFromMovementSpecialiseDestinationProject
</string>
</value>
<value>
<string>
Software
Instance_getSecurityCategoryFromMovementSpecialiseDestinationProject
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/
InstanceTyp
e_getSecurityCategoryFromUser.py
→
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/
SoftwareInstanc
e_getSecurityCategoryFromUser.py
View file @
68d63056
File moved
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/
PayzenEventTyp
e_getSecurityCategoryFromUser.xml
→
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_core/
SoftwareInstanc
e_getSecurityCategoryFromUser.xml
View file @
68d63056
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
PayzenEventTyp
e_getSecurityCategoryFromUser
</string>
</value>
<value>
<string>
SoftwareInstanc
e_getSecurityCategoryFromUser
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
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