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
3685e30d
Commit
3685e30d
authored
Jun 29, 2022
by
Romain Courteaud
🐙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_erp5: provide access to production on software installation
parent
9865053f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
19 deletions
+13
-19
master/bt5/slapos_erp5/LocalRolesTemplateItem/software_installation_module.xml
...5/LocalRolesTemplateItem/software_installation_module.xml
+1
-9
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Software%20Installation%20Module.xml
...ypeRolesTemplateItem/Software%20Installation%20Module.xml
+2
-8
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Software%20Installation.xml
...5/PortalTypeRolesTemplateItem/Software%20Installation.xml
+10
-2
No files found.
master/bt5/slapos_erp5/LocalRolesTemplateItem/software_installation_module.xml
View file @
3685e30d
<local_roles_item>
<local_roles_item>
<local_roles>
<local_roles>
<role
id=
'F-COMPUMAN'
>
<role
id=
'F-PRODUCTION*'
>
<item>
Auditor
</item>
<item>
Author
</item>
</role>
<role
id=
'G-COMPANY'
>
<item>
Auditor
</item>
<item>
Auditor
</item>
<item>
Author
</item>
<item>
Author
</item>
</role>
</role>
...
@@ -16,9 +12,5 @@
...
@@ -16,9 +12,5 @@
<local_role_group_id
id=
'computer'
>
<local_role_group_id
id=
'computer'
>
<principal
id=
'R-COMPUTER'
>
Auditor
</principal>
<principal
id=
'R-COMPUTER'
>
Auditor
</principal>
</local_role_group_id>
</local_role_group_id>
<local_role_group_id
id=
'group'
>
<principal
id=
'G-COMPANY'
>
Auditor
</principal>
<principal
id=
'G-COMPANY'
>
Author
</principal>
</local_role_group_id>
</local_role_group_ids>
</local_role_group_ids>
</local_roles_item>
</local_roles_item>
\ No newline at end of file
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Software%20Installation%20Module.xml
View file @
3685e30d
...
@@ -6,16 +6,10 @@
...
@@ -6,16 +6,10 @@
<multi_property
id=
'base_category'
>
role
</multi_property>
<multi_property
id=
'base_category'
>
role
</multi_property>
</role>
</role>
<role
id=
'Auditor; Author'
>
<role
id=
'Auditor; Author'
>
<property
id=
'title'
>
Compute Node Manager
</property>
<property
id=
'title'
>
Project Production
</property>
<property
id=
'description'
>
XXX TODO
<property
id=
'description'
>
XXX TODO
add local roles group
</property>
add local roles group
</property>
<multi_property
id=
'category'
>
function/
computer/manager
</multi_property>
<multi_property
id=
'category'
>
function/
production*
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
</role>
</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>
</type_roles>
</type_roles>
\ No newline at end of file
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Software%20Installation.xml
View file @
3685e30d
...
@@ -6,11 +6,19 @@
...
@@ -6,11 +6,19 @@
<multi_property
id=
'base_category'
>
aggregate
</multi_property>
<multi_property
id=
'base_category'
>
aggregate
</multi_property>
</role>
</role>
<role
id=
'Assignee'
>
<role
id=
'Assignee'
>
<property
id=
'title'
>
Project
Compute Node Manager
</property>
<property
id=
'title'
>
Project
Production Agent
</property>
<property
id=
'description'
>
XXX project local role group
</property>
<property
id=
'description'
>
XXX project local role group
</property>
<property
id=
'condition'
>
python: context.getFollowUp("") != ""
</property>
<property
id=
'condition'
>
python: context.getFollowUp("") != ""
</property>
<property
id=
'base_category_script'
>
ERP5Type_getSecurityCategoryFromContent
</property>
<property
id=
'base_category_script'
>
ERP5Type_getSecurityCategoryFromContent
</property>
<multi_property
id=
'category'
>
function/computer/manager
</multi_property>
<multi_property
id=
'category'
>
function/production/agent
</multi_property>
<multi_property
id=
'base_category'
>
follow_up
</multi_property>
</role>
<role
id=
'Assignor'
>
<property
id=
'title'
>
Project Production Manager
</property>
<property
id=
'description'
>
XXX project local role group
</property>
<property
id=
'condition'
>
python: context.getFollowUp("") != ""
</property>
<property
id=
'base_category_script'
>
ERP5Type_getSecurityCategoryFromContent
</property>
<multi_property
id=
'category'
>
function/production/manager
</multi_property>
<multi_property
id=
'base_category'
>
follow_up
</multi_property>
<multi_property
id=
'base_category'
>
follow_up
</multi_property>
</role>
</role>
</type_roles>
</type_roles>
\ No newline at end of file
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