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
Lu Xu
slapos.core
Commits
9e9ad98f
Commit
9e9ad98f
authored
Dec 13, 2012
by
Romain Courteaud
🐸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hosting Subscription security has been updated.
parent
d4066a1e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
master/bt5/slapos_erp5/TestTemplateItem/testSlapOSERP5LocalPermissionSlapOSInteractionWorkflow.py
...testSlapOSERP5LocalPermissionSlapOSInteractionWorkflow.py
+5
-4
master/bt5/slapos_erp5/bt/revision
master/bt5/slapos_erp5/bt/revision
+1
-1
No files found.
master/bt5/slapos_erp5/TestTemplateItem/testSlapOSERP5LocalPermissionSlapOSInteractionWorkflow.py
View file @
9e9ad98f
...
@@ -113,21 +113,21 @@ class TestSlapOSLocalPermissionSlapOSInteractionWorkflow(
...
@@ -113,21 +113,21 @@ class TestSlapOSLocalPermissionSlapOSInteractionWorkflow(
hosting_subscription
=
self
.
portal
.
hosting_subscription_module
.
newContent
(
hosting_subscription
=
self
.
portal
.
hosting_subscription_module
.
newContent
(
portal_type
=
'Hosting Subscription'
)
portal_type
=
'Hosting Subscription'
)
self
.
assertSecurityGroup
(
hosting_subscription
,
[
self
.
user_id
,
self
.
assertSecurityGroup
(
hosting_subscription
,
[
self
.
user_id
,
hosting_subscription
.
getId
()],
hosting_subscription
.
getId
()
,
'G-COMPANY'
],
False
)
False
)
hosting_subscription
.
edit
(
reference
=
'TESTHS-%s'
%
self
.
generateNewId
())
hosting_subscription
.
edit
(
reference
=
'TESTHS-%s'
%
self
.
generateNewId
())
transaction
.
commit
()
transaction
.
commit
()
self
.
assertSecurityGroup
(
hosting_subscription
,
[
self
.
user_id
,
self
.
assertSecurityGroup
(
hosting_subscription
,
[
self
.
user_id
,
hosting_subscription
.
getReference
()],
False
)
hosting_subscription
.
getReference
()
,
'G-COMPANY'
],
False
)
def
test_HostingSubscription_setDestinationSection
(
self
):
def
test_HostingSubscription_setDestinationSection
(
self
):
self
.
_makePerson
()
self
.
_makePerson
()
hosting_subscription
=
self
.
portal
.
hosting_subscription_module
.
newContent
(
hosting_subscription
=
self
.
portal
.
hosting_subscription_module
.
newContent
(
portal_type
=
'Hosting Subscription'
)
portal_type
=
'Hosting Subscription'
)
self
.
assertSecurityGroup
(
hosting_subscription
,
[
self
.
user_id
,
self
.
assertSecurityGroup
(
hosting_subscription
,
[
self
.
user_id
,
hosting_subscription
.
getId
()],
hosting_subscription
.
getId
()
,
'G-COMPANY'
],
False
)
False
)
hosting_subscription
.
edit
(
hosting_subscription
.
edit
(
...
@@ -135,7 +135,8 @@ class TestSlapOSLocalPermissionSlapOSInteractionWorkflow(
...
@@ -135,7 +135,8 @@ class TestSlapOSLocalPermissionSlapOSInteractionWorkflow(
transaction
.
commit
()
transaction
.
commit
()
self
.
assertSecurityGroup
(
hosting_subscription
,
[
self
.
user_id
,
self
.
assertSecurityGroup
(
hosting_subscription
,
[
self
.
user_id
,
hosting_subscription
.
getId
(),
self
.
person_user
.
getReference
()],
hosting_subscription
.
getId
(),
self
.
person_user
.
getReference
(),
'G-COMPANY'
],
False
)
False
)
def
test_Person_setReference
(
self
):
def
test_Person_setReference
(
self
):
...
...
master/bt5/slapos_erp5/bt/revision
View file @
9e9ad98f
146
147
\ No newline at end of file
\ 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