source: products/quintagroup.plonecomments/trunk/quintagroup/plonecomments/tests/config.py @ 3115

Last change on this file since 3115 was 3115, checked in by kroman0, 11 years ago

Pyflakes and pep8 fixes #2

File size: 1.5 KB
Line 
1PRODUCT = 'quintagroup.plonecomments'
2PRODUCT_SKIN_NAME = "quintagroup_plonecomments"
3PROPERTY_SHEET = "qPloneComments"
4CONFIGLET_ID = "prefs_comments_setup_form"
5
6EMAIL_PID = "email_discussion_manager"
7EMAIL_SUBJECT_PID = "email_subject_prefix"
8REQUIRE_EMAIL_PID = "require_email"
9APPROVE_NOTIFICATION_PID = "enable_approve_notification"
10PUBLISHED_NOTIFICATION_PID = "enable_published_notification"
11REJECTED_NOTIFICATION_PID = "enable_rejected_user_notification"
12APPROVE_USER_NOTIFICATION_PID = "enable_approve_user_notification"
13REPLY_USER_NOTIFICATION_PID = "enable_reply_user_notification"
14MODERATION_PID = "enable_moderation"
15ANONYMOUS_COMMENTING_PID = "enable_anonymous_commenting"
16
17PERM_NAME = 'Moderate Discussion'
18USERS = {  # Common Members
19         'admin':{'passw': 'secret_admin', 'roles': ['Manager']},
20         'owner':{'passw': 'secret_owner', 'roles': ['Owner']},
21         'member':{'passw': 'secret_member', 'roles': ['Member']},
22         'reviewer':{'passw': 'secret_reviewer', 'roles': ['Reviewer']},
23           # Members for discussion manager group
24         'dm_admin':{'passw': 'secret_dm_admin', 'roles': ['Manager']},
25         'dm_owner':{'passw': 'secret_dm_owner', 'roles': ['Owner']},
26         'dm_member':{'passw': 'secret_dm_member', 'roles': ['Member']},
27         'dm_reviewer':{'passw': 'secret_dm_reviewer', 'roles': ['Reviewer']},
28        }
29COMMON_USERS_IDS = [u for u in USERS.keys() if not u.startswith('dm_')]
30COMMON_USERS_IDS.append('anonym')
31DM_USERS_IDS = [u for u in USERS.keys() if u.startswith('dm_')]
Note: See TracBrowser for help on using the repository browser.