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
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
Léo-Paul Géneau
slapos.core
Commits
6cf82c6b
Commit
6cf82c6b
authored
Aug 14, 2018
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_erp5: Don't set local_role_group until catalog be upgraded
parent
5d816cde
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1 addition
and
11 deletions
+1
-11
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Accounting%20Transaction%20Module.xml
...peRolesTemplateItem/Accounting%20Transaction%20Module.xml
+0
-1
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Computer.xml
.../bt5/slapos_erp5/PortalTypeRolesTemplateItem/Computer.xml
+0
-1
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Organisation%20Module.xml
...rp5/PortalTypeRolesTemplateItem/Organisation%20Module.xml
+0
-2
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Organisation.xml
.../slapos_erp5/PortalTypeRolesTemplateItem/Organisation.xml
+0
-1
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Payment%20Transaction.xml
...rp5/PortalTypeRolesTemplateItem/Payment%20Transaction.xml
+0
-2
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Person.xml
...er/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Person.xml
+1
-3
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Sale%20Invoice%20Transaction.xml
...talTypeRolesTemplateItem/Sale%20Invoice%20Transaction.xml
+0
-1
No files found.
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Accounting%20Transaction%20Module.xml
View file @
6cf82c6b
...
...
@@ -11,7 +11,6 @@
</role>
<role
id=
'Assignor'
>
<property
id=
'title'
>
Person Shadow
</property>
<multi_property
id=
'categories'
>
local_role_group/shadow
</multi_property>
<multi_property
id=
'category'
>
role/shadow/person
</multi_property>
<multi_property
id=
'base_category'
>
role
</multi_property>
</role>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Computer.xml
View file @
6cf82c6b
...
...
@@ -13,7 +13,6 @@
</role>
<role
id=
'Assignor'
>
<property
id=
'title'
>
Group company
</property>
<multi_property
id=
'categories'
>
local_role_group/group
</multi_property>
<multi_property
id=
'category'
>
group/company
</multi_property>
<multi_property
id=
'base_category'
>
group
</multi_property>
</role>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Organisation%20Module.xml
View file @
6cf82c6b
...
...
@@ -11,13 +11,11 @@
</role>
<role
id=
'Author; Auditor'
>
<property
id=
'title'
>
Group company
</property>
<multi_property
id=
'categories'
>
local_role_group/group
</multi_property>
<multi_property
id=
'category'
>
group/company
</multi_property>
<multi_property
id=
'base_category'
>
group
</multi_property>
</role>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Person Shadow
</property>
<multi_property
id=
'categories'
>
local_role_group/shadow
</multi_property>
<multi_property
id=
'category'
>
role/shadow/person
</multi_property>
<multi_property
id=
'base_category'
>
role
</multi_property>
</role>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Organisation.xml
View file @
6cf82c6b
<type_roles>
<role
id=
'Assignor'
>
<property
id=
'title'
>
Group company
</property>
<multi_property
id=
'categories'
>
local_role_group/group
</multi_property>
<multi_property
id=
'category'
>
group/company
</multi_property>
<multi_property
id=
'base_category'
>
group
</multi_property>
</role>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Payment%20Transaction.xml
View file @
6cf82c6b
<type_roles>
<role
id=
'Assignor'
>
<property
id=
'title'
>
Group company
</property>
<multi_property
id=
'categories'
>
local_role_group/shadow
</multi_property>
<multi_property
id=
'category'
>
group/company
</multi_property>
<multi_property
id=
'base_category'
>
group
</multi_property>
</role>
...
...
@@ -14,7 +13,6 @@
<property
id=
'title'
>
Shadow User
</property>
<property
id=
'condition'
>
python: here.getDestinationSection('', portal_type='Person') != ''
</property>
<property
id=
'base_category_script'
>
PaymentTransactionType_getSecurityCategoryFromUser
</property>
<multi_property
id=
'categories'
>
local_role_group/shadow
</multi_property>
<multi_property
id=
'base_category'
>
aggregate
</multi_property>
</role>
<role
id=
'Auditor'
>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Person.xml
View file @
6cf82c6b
<type_roles>
<role
id=
'Assignor'
>
<property
id=
'title'
>
Group company
</property>
<multi_property
id=
'categories'
>
local_role_group/group
</multi_property>
<multi_property
id=
'category'
>
group/company
</multi_property>
<multi_property
id=
'base_category'
>
group
</multi_property>
</role>
...
...
@@ -10,7 +9,6 @@
<property
id=
'description'
>
Monovalued role
</property>
<property
id=
'condition'
>
python: here.objectValues(portal_type=["ERP5 Login", "Google Login", "Facebook Login"])
</property>
<property
id=
'base_category_script'
>
PersonType_getSecurityCategoryFromSelfShadow
</property>
<multi_property
id=
'categories'
>
local_role_group/shadow
</multi_property>
<multi_property
id=
'base_category'
>
group
</multi_property>
</role>
<role
id=
'Associate'
>
...
...
@@ -20,4 +18,4 @@
<property
id=
'base_category_script'
>
ERP5Type_getSecurityCategoryFromSelf
</property>
<multi_property
id=
'base_category'
>
group
</multi_property>
</role>
</type_roles>
\ No newline at end of file
</type_roles>
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Sale%20Invoice%20Transaction.xml
View file @
6cf82c6b
...
...
@@ -6,7 +6,6 @@
</role>
<role
id=
'Assignee'
>
<property
id=
'title'
>
Person Shadow
</property>
<multi_property
id=
'categories'
>
local_role_group/shadow
</multi_property>
<multi_property
id=
'category'
>
role/shadow/person
</multi_property>
<multi_property
id=
'base_category'
>
role
</multi_property>
</role>
...
...
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