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
Guillaume Hervier
slapos.core
Commits
13a537c8
Commit
13a537c8
authored
Jun 01, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixup partition security.
parent
eac8d999
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
master/bt5/vifib_erp5/PortalTypeRolesTemplateItem/Computer%20Partition.xml
...erp5/PortalTypeRolesTemplateItem/Computer%20Partition.xml
+2
-2
master/bt5/vifib_erp5/SkinTemplateItem/portal_skins/vifib_core/ERP5Type_getSecurityCategoryFromAggregateRelatedSoftwareInstanceHostingSubscription.xml
...omAggregateRelatedSoftwareInstanceHostingSubscription.xml
+3
-2
master/bt5/vifib_erp5/bt/revision
master/bt5/vifib_erp5/bt/revision
+1
-1
No files found.
master/bt5/vifib_erp5/PortalTypeRolesTemplateItem/Computer%20Partition.xml
View file @
13a537c8
...
...
@@ -6,9 +6,9 @@
<multi_property
id=
'base_category'
>
destination_section
</multi_property>
</role>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Software Instance related to Computer Partition
</property>
<property
id=
'title'
>
Software Instance
group
related to Computer Partition
</property>
<property
id=
'condition'
>
python: here.getSlapState() == "busy"
</property>
<property
id=
'base_category_script'
>
ERP5Type_getSecurityCategoryFromAggregateRelatedSoftwareInstance
</property>
<property
id=
'base_category_script'
>
ERP5Type_getSecurityCategoryFromAggregateRelatedSoftwareInstance
HostingSubscription
</property>
<multi_property
id=
'base_category'
>
aggregate
</multi_property>
</role>
</type_roles>
\ No newline at end of file
master/bt5/vifib_erp5/SkinTemplateItem/portal_skins/vifib_core/ERP5Type_getSecurityCategoryFromAggregateRelatedSoftwareInstance.xml
→
master/bt5/vifib_erp5/SkinTemplateItem/portal_skins/vifib_core/ERP5Type_getSecurityCategoryFromAggregateRelatedSoftwareInstance
HostingSubscription
.xml
View file @
13a537c8
...
...
@@ -67,8 +67,9 @@ software_instance_list = obj.getPortalObject().portal_catalog(\n
)\n
\n
if len(software_instance_list) == 1:\n
hosting_subscription = software_instance_list[0].getSpecialise(portal_type=\'Hosting Subscription\')\n
for base_category in base_category_list:\n
category_list.append({base_category:
software_instance_list[0].getRelativeUrl()
})\n
category_list.append({base_category:
hosting_subscription
})\n
\n
return category_list\n
</string>
</value>
...
...
@@ -94,7 +95,7 @@ return category_list\n
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ERP5Type_getSecurityCategoryFromAggregateRelatedSoftwareInstance
</string>
</value>
<value>
<string>
ERP5Type_getSecurityCategoryFromAggregateRelatedSoftwareInstance
HostingSubscription
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
master/bt5/vifib_erp5/bt/revision
View file @
13a537c8
437
\ No newline at end of file
438
\ 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