source: ATGoogleMaps/branches/for-plone30/config.py @ 194

Revision 194, 1.7 KB checked in by takanori, 4 years ago (diff)

move directory

Line 
1# -*- coding: utf-8 -*-
2#
3# File: ATGoogleMaps.py
4#
5# Copyright (c) 2008 by ['takanori', 'yuta']
6# Generator: ArchGenXML Version 2.1
7#            http://plone.org/products/archgenxml
8#
9# GNU General Public License (GPL)
10#
11
12__author__ = """takanori <takanori@takanory.net>, yuta <unknown>"""
13__docformat__ = 'plaintext'
14
15
16# Product configuration.
17#
18# The contents of this module will be imported into __init__.py, the
19# workflow configuration and every content type module.
20#
21# If you wish to perform custom configuration, you may put a file
22# AppConfig.py in your product's root directory. The items in there
23# will be included (by importing) in this file if found.
24
25from Products.CMFCore.permissions import setDefaultRoles
26##code-section config-head #fill in your manual code here
27##/code-section config-head
28
29
30PROJECTNAME = "ATGoogleMaps"
31
32# Permissions
33DEFAULT_ADD_CONTENT_PERMISSION = "Add portal content"
34setDefaultRoles(DEFAULT_ADD_CONTENT_PERMISSION, ('Manager', 'Owner'))
35ADD_CONTENT_PERMISSIONS = {
36    'GMap': 'ATGoogleMaps: Add GMap',
37    'GMarker': 'ATGoogleMaps: Add GMarker',
38}
39
40setDefaultRoles('ATGoogleMaps: Add GMap', ('Manager','Owner'))
41setDefaultRoles('ATGoogleMaps: Add GMarker', ('Manager','Owner'))
42
43product_globals = globals()
44
45# Dependencies of Products to be installed by quick-installer
46# override in custom configuration
47DEPENDENCIES = []
48
49# Dependend products - not quick-installed - used in testcase
50# override in custom configuration
51PRODUCT_DEPENDENCIES = []
52
53##code-section config-bottom #fill in your manual code here
54##/code-section config-bottom
55
56
57# Load custom configuration not managed by archgenxml
58try:
59    from Products.ATGoogleMaps.AppConfig import *
60except ImportError:
61    pass
Note: See TracBrowser for help on using the repository browser.