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
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Rafael Monnerat
slapos.core
Commits
38ec3fb3
Commit
38ec3fb3
authored
Jan 29, 2013
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Give member access to spl module.
parent
61ab87d4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
2 deletions
+11
-2
master/bt5/slapos_erp5/LocalRolesTemplateItem/sale_packing_list_module.xml
..._erp5/LocalRolesTemplateItem/sale_packing_list_module.xml
+3
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Sale%20Packing%20List%20Module.xml
...lTypeRolesTemplateItem/Sale%20Packing%20List%20Module.xml
+5
-0
master/bt5/slapos_erp5/TestTemplateItem/testSlapOSERP5GroupRoleSecurity.py
..._erp5/TestTemplateItem/testSlapOSERP5GroupRoleSecurity.py
+2
-1
master/bt5/slapos_erp5/bt/revision
master/bt5/slapos_erp5/bt/revision
+1
-1
No files found.
master/bt5/slapos_erp5/LocalRolesTemplateItem/sale_packing_list_module.xml
View file @
38ec3fb3
...
...
@@ -4,6 +4,9 @@
<item>
Auditor
</item>
<item>
Author
</item>
</role>
<role
id=
'R-MEMBER'
>
<item>
Auditor
</item>
</role>
<role
id=
'zope'
>
<item>
Owner
</item>
</role>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Sale%20Packing%20List%20Module.xml
View file @
38ec3fb3
...
...
@@ -4,4 +4,9 @@
<multi_property
id=
'category'
>
group/company
</multi_property>
<multi_property
id=
'base_category'
>
group
</multi_property>
</role>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Member
</property>
<multi_property
id=
'category'
>
role/member
</multi_property>
<multi_property
id=
'base_category'
>
role
</multi_property>
</role>
</type_roles>
\ No newline at end of file
master/bt5/slapos_erp5/TestTemplateItem/testSlapOSERP5GroupRoleSecurity.py
View file @
38ec3fb3
...
...
@@ -815,9 +815,10 @@ class TestSalePackingListModule(TestSlapOSGroupRoleSecurityMixin):
def
test
(
self
):
module
=
self
.
portal
.
sale_packing_list_module
self
.
assertSecurityGroup
(
module
,
[
'G-COMPANY'
,
'zope'
],
False
)
[
'G-COMPANY'
,
'zope'
,
'R-MEMBER'
],
False
)
self
.
assertRoles
(
module
,
'G-COMPANY'
,
[
'Auditor'
,
'Author'
])
self
.
assertRoles
(
module
,
'zope'
,
[
'Owner'
])
self
.
assertRoles
(
module
,
'R-MEMBER'
,
[
'Auditor'
])
class
TestSalePackingList
(
TestSlapOSGroupRoleSecurityMixin
):
def
test_GroupCompany
(
self
):
...
...
master/bt5/slapos_erp5/bt/revision
View file @
38ec3fb3
160
\ No newline at end of file
161
\ 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