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
1
Merge Requests
1
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
Romain Courteaud
slapos.core
Commits
abfebc9b
Commit
abfebc9b
authored
Jun 07, 2022
by
Romain Courteaud
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_erp5: drop shadow role from person* portal types
parent
c9b62ef1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
20 deletions
+0
-20
master/bt5/slapos_erp5/LocalRolesTemplateItem/person_module.xml
.../bt5/slapos_erp5/LocalRolesTemplateItem/person_module.xml
+0
-6
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Person%20Module.xml
...apos_erp5/PortalTypeRolesTemplateItem/Person%20Module.xml
+0
-6
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Person.xml
...er/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Person.xml
+0
-8
No files found.
master/bt5/slapos_erp5/LocalRolesTemplateItem/person_module.xml
View file @
abfebc9b
...
@@ -7,18 +7,12 @@
...
@@ -7,18 +7,12 @@
<role
id=
'R-MEMBER'
>
<role
id=
'R-MEMBER'
>
<item>
Auditor
</item>
<item>
Auditor
</item>
</role>
</role>
<role
id=
'R-SHADOW-PERSON'
>
<item>
Auditor
</item>
</role>
</local_roles>
</local_roles>
<local_role_group_ids>
<local_role_group_ids>
<local_role_group_id
id=
'group'
>
<local_role_group_id
id=
'group'
>
<principal
id=
'G-COMPANY'
>
Auditor
</principal>
<principal
id=
'G-COMPANY'
>
Auditor
</principal>
<principal
id=
'G-COMPANY'
>
Author
</principal>
<principal
id=
'G-COMPANY'
>
Author
</principal>
</local_role_group_id>
</local_role_group_id>
<local_role_group_id
id=
'shadow'
>
<principal
id=
'R-SHADOW-PERSON'
>
Auditor
</principal>
</local_role_group_id>
<local_role_group_id
id=
'user'
>
<local_role_group_id
id=
'user'
>
<principal
id=
'R-MEMBER'
>
Auditor
</principal>
<principal
id=
'R-MEMBER'
>
Auditor
</principal>
</local_role_group_id>
</local_role_group_id>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Person%20Module.xml
View file @
abfebc9b
...
@@ -11,10 +11,4 @@
...
@@ -11,10 +11,4 @@
<multi_property
id=
'category'
>
role/member
</multi_property>
<multi_property
id=
'category'
>
role/member
</multi_property>
<multi_property
id=
'base_category'
>
role
</multi_property>
<multi_property
id=
'base_category'
>
role
</multi_property>
</role>
</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>
</type_roles>
</type_roles>
\ No newline at end of file
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Person.xml
View file @
abfebc9b
...
@@ -11,14 +11,6 @@
...
@@ -11,14 +11,6 @@
<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=
'Auditor'
>
<property
id=
'title'
>
The Shadow User Himself
</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=
'base_category_script'
>
Person_getSecurityCategoryFromSelfShadow
</property>
<multi_property
id=
'categories'
>
local_role_group/shadow
</multi_property>
<multi_property
id=
'base_category'
>
group
</multi_property>
</role>
<role
id=
'Assignee'
>
<role
id=
'Assignee'
>
<property
id=
'title'
>
The User Himself
</property>
<property
id=
'title'
>
The User Himself
</property>
<property
id=
'description'
>
Monovalued role
</property>
<property
id=
'description'
>
Monovalued role
</property>
...
...
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