summaryrefslogtreecommitdiff
path: root/profiles/expert/expert.install
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-09-20 07:32:19 +0000
committerDries Buytaert <dries@buytaert.net>2009-09-20 07:32:19 +0000
commit7cf7f998781c24f0f27218a9ffdcde290e7ec6ec (patch)
tree4e5b5b95f2dc6d8ddf7a7a3d7a173bfb3428717f /profiles/expert/expert.install
parent3a2eff7145176693eb5ae3cd04b77ccebfa717b7 (diff)
downloadbrdo-7cf7f998781c24f0f27218a9ffdcde290e7ec6ec.tar.gz
brdo-7cf7f998781c24f0f27218a9ffdcde290e7ec6ec.tar.bz2
- Patch #11218 by David_Rothstein, sun, quicksketch, duncf, awood456, dropcube, mgifford | pwolanin, dww, RobRoy, Crell, webchick, beginner, ray007, bjaspan, chx, Gábor Hojtsy, Steven, Dries, lutegrass, sym, guardian, matt2000, geerlingguy, SeanBannister, matt westgate, com2, praseodym: allow default text formats per role, and integrate text format permissions.
Diffstat (limited to 'profiles/expert/expert.install')
-rw-r--r--profiles/expert/expert.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/profiles/expert/expert.install b/profiles/expert/expert.install
index 0e47ff934..f3a48387c 100644
--- a/profiles/expert/expert.install
+++ b/profiles/expert/expert.install
@@ -68,8 +68,8 @@ function expert_install() {
$query->execute();
// Enable default permissions for system roles.
- user_role_grant_permissions(DRUPAL_ANONYMOUS_RID, array('access content'));
- user_role_grant_permissions(DRUPAL_AUTHENTICATED_RID, array('access content', 'access comments', 'post comments', 'post comments without approval'));
+ user_role_grant_permissions(DRUPAL_ANONYMOUS_RID, array('access content', 'use text format 1'));
+ user_role_grant_permissions(DRUPAL_AUTHENTICATED_RID, array('access content', 'access comments', 'post comments', 'post comments without approval', 'use text format 1'));
}