Commit 72073f14 authored by Jean-Paul Smets's avatar Jean-Paul Smets

addPermission changed to addPortalContent

fixed Solanes typo


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@398 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fa35b99f
############################################################################## ##############################################################################
# #
# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved. # Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
# Jean-Paul Smets-Solane <jp@nexedi.com> # Jean-Paul Smets-Solanes <jp@nexedi.com>
# #
# WARNING: This program as such is intended to be used by professional # WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsability of assessing all potential # programmers who take the whole responsability of assessing all potential
...@@ -43,7 +43,7 @@ class Assortiment(Resource, XMLMatrix): ...@@ -43,7 +43,7 @@ class Assortiment(Resource, XMLMatrix):
meta_type = 'CORAMY Assortiment' meta_type = 'CORAMY Assortiment'
portal_type = 'Assortiment' portal_type = 'Assortiment'
add_permission = Permissions.AddERP5Content add_permission = Permissions.AddPortalContent
isPortalContent = 1 isPortalContent = 1
isRADContent = 1 isRADContent = 1
......
############################################################################## ##############################################################################
# #
# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved. # Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
# Jean-Paul Smets-Solane <jp@nexedi.com> # Jean-Paul Smets-Solanes <jp@nexedi.com>
# #
# WARNING: This program as such is intended to be used by professional # WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsability of assessing all potential # programmers who take the whole responsability of assessing all potential
...@@ -39,7 +39,7 @@ class Coloris(Image, XMLObject): ...@@ -39,7 +39,7 @@ class Coloris(Image, XMLObject):
meta_type = 'CORAMY Coloris' meta_type = 'CORAMY Coloris'
portal_type = 'Coloris' portal_type = 'Coloris'
add_permission = Permissions.AddERP5Content add_permission = Permissions.AddPortalContent
isPortalContent = 1 isPortalContent = 1
isRADContent = 1 isRADContent = 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment