Commit a85f3c5d authored by wenjie.zheng's avatar wenjie.zheng

PermissionRoles.py: make isIndexable == false.

parent 4dd349a0
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Acquisition import aq_inner, aq_parent from Acquisition import aq_inner, aq_parent
from Products.ERP5Type.Accessor.Constant import PropertyGetter as ConstantGetter
from Products.ERP5Type import Permissions, PropertySheet from Products.ERP5Type import Permissions, PropertySheet
from Products.ERP5Type.XMLObject import XMLObject from Products.ERP5Type.XMLObject import XMLObject
from zLOG import LOG, ERROR, DEBUG, WARNING from zLOG import LOG, ERROR, DEBUG, WARNING
...@@ -41,7 +42,7 @@ class PermissionRoles(XMLObject): ...@@ -41,7 +42,7 @@ class PermissionRoles(XMLObject):
meta_type = 'ERP5 PermissionRoles' meta_type = 'ERP5 PermissionRoles'
portal_type = 'PermissionRoles' portal_type = 'PermissionRoles'
add_permission = Permissions.AddPortalContent add_permission = Permissions.AddPortalContent
isIndexable = ConstantGetter('isIndexable', value=False)
is_selected = 0 # for checkerbox (True 1 /False 0) is_selected = 0 # for checkerbox (True 1 /False 0)
isPortalContent = 1 isPortalContent = 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