diff --git a/profiles/testing/testing.info b/profiles/testing/testing.info index 8e353ed..fff3df2 100644 --- a/profiles/testing/testing.info +++ b/profiles/testing/testing.info @@ -3,3 +3,5 @@ description = Minimal profile for running tests. Includes absolutely required mo version = VERSION core = 8.x hidden = TRUE +; @todo Remove dependency on Node module. +dependencies[] = node diff --git a/profiles/testing/testing.install b/profiles/testing/testing.install index 19092d4..54f036b 100644 --- a/profiles/testing/testing.install +++ b/profiles/testing/testing.install @@ -8,4 +8,9 @@ function testing_install() { // Allow visitor account creation, but with administrative approval. variable_set('user_register', USER_REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL); + + // Enable default permissions for system roles. + // @todo Remove dependency on Node module. + user_role_grant_permissions(DRUPAL_ANONYMOUS_RID, array('access content')); + user_role_grant_permissions(DRUPAL_AUTHENTICATED_RID, array('access content')); }