Commit 4bc54ec4 authored by Rafael Monnerat's avatar Rafael Monnerat

Allow users read some not secret preferences, it is required Annonymous read...

Allow users read some not secret preferences, it is required Annonymous read some preferences in order to have wizard working minimally.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37266 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cf8dd3fe
......@@ -25,7 +25,6 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
##############################################################################
from Products.ERP5Type import Permissions
class ExpressPreference:
"""
......@@ -39,63 +38,63 @@ class ExpressPreference:
'description' : 'The URL of a server which provides Witch Tool',
'type' : 'string',
'preference' : 1,
'read_permission' : Permissions.ManagePortal,
'write_permission' : Permissions.ManagePortal,
#'read_permission' : 'Manage portal',
'write_permission' : 'Manage portal',
'mode' : 'w' },
{ 'id' : 'preferred_witch_tool_server_root',
'description' : 'The root of a server which provides Witch Tool',
'type' : 'string',
'preference' : 1,
'read_permission' : Permissions.ManagePortal,
'write_permission' : Permissions.ManagePortal,
#'read_permission' : 'Manage portal',
'write_permission' : 'Manage portal',
'mode' : 'w' },
{ 'id' : 'preferred_express_subscription_status',
'description' : 'ERP5 Express subscription status',
'type' : 'string',
'preference' : 1,
'read_permission' : Permissions.ManagePortal,
'write_permission' : Permissions.ManagePortal,
#'read_permission' : 'Manage portal',
'write_permission' : 'Manage portal',
'mode' : 'w' },
{ 'id' : 'preferred_express_configuration_status',
'description' : 'ERP5 Express configuration status',
'type' : 'string',
'preference' : 1,
'read_permission' : Permissions.ManagePortal,
'write_permission' : Permissions.ManagePortal,
#'read_permission' : 'Manage portal',
'write_permission' : 'Manage portal',
'mode' : 'w' },
{ 'id' : 'preferred_express_user_id',
'description' : 'ERP5 Express subscription user id',
'type' : 'string',
'preference' : 1,
'read_permission' : Permissions.ModifyPortalContent,
'write_permission' : Permissions.ModifyPortalContent,
#'read_permission' : 'Modify portal content',
'write_permission' : 'Modify portal content',
'mode' : 'w' },
{ 'id' : 'preferred_express_password',
'description' : 'ERP5 Express subscription password',
'type' : 'string',
'preference' : 1,
'read_permission' : Permissions.ModifyPortalContent,
'write_permission' : Permissions.ModifyPortalContent,
'read_permission' : 'Modify portal content',
'write_permission' : 'Modify portal content',
'mode' : 'w' },
{ 'id' : 'preferred_express_after_setup_script_id',
'description' : 'ERP5 Express after setup script id',
'type' : 'string',
'preference' : 1,
'read_permission' : Permissions.ModifyPortalContent,
'write_permission' : Permissions.ModifyPortalContent,
#'read_permission' : 'Modify portal content',
'write_permission' : 'Modify portal content',
'mode' : 'w' },
{ 'id' : 'preferred_express_erp5_uid',
'description' : 'ERP5 Express unique ID',
'type' : 'string',
'preference' : 1,
'read_permission' : Permissions.ModifyPortalContent,
'write_permission' : Permissions.ModifyPortalContent,
#'read_permission' : 'Modify portal content',
'write_permission' : 'Modify portal content',
'mode' : 'w' },
{ 'id' : 'preferred_express_client_uid',
'description' : 'ERP5 Express client unique ID',
'type' : 'string',
'preference' : 1,
'read_permission' : Permissions.ModifyPortalContent,
'write_permission' : Permissions.ModifyPortalContent,
#'read_permission' : 'Modify portal content',
'write_permission' : 'Modify portal content',
'mode' : 'w' },
)
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