Commit 44ac4cc5 authored by Ezra Gildesgame's avatar Ezra Gildesgame
Browse files

Issue #1836914 by ezra-g: Fixed Commons modules should remove numeric keys...

Issue #1836914 by ezra-g: Fixed Commons modules should remove numeric keys from exports pertaining to user roles.
parent 5f69b6d0
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -14,8 +14,8 @@ function commons_misc_user_default_permissions() {
  $permissions['access content'] = array(
    'name' => 'access content',
    'roles' => array(
      0 => 'anonymous user',
      1 => 'authenticated user',
      'anonymous user' => 'anonymous user',
      'authenticated user' => 'authenticated user',
    ),
    'module' => 'node',
  );
@@ -24,7 +24,7 @@ function commons_misc_user_default_permissions() {
  $permissions['view own unpublished content'] = array(
    'name' => 'view own unpublished content',
    'roles' => array(
      0 => 'authenticated user',
      'anonymous user' => 'authenticated user',
    ),
    'module' => 'node',
  );