]> gitweb.fluxo.info Git - drupal/muamba.git/commitdiff
Minor panel fix
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 14 Oct 2011 22:27:15 +0000 (19:27 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 14 Oct 2011 22:27:15 +0000 (19:27 -0300)
features/muamba_interface/muamba_interface.pages_default.inc

index 6f8c9014c146046d430690eef1d27629c66a6c45..87fe35fc6c5b9daa2ac3595cc3a12710a60dd1da 100644 (file)
@@ -281,7 +281,20 @@ function muamba_interface_default_page_manager_pages() {
     $pane->type = 'views';
     $pane->subtype = 'og_user_groups';
     $pane->shown = TRUE;
-    $pane->access = array();
+    $pane->access = array(
+      'plugins' => array(
+        0 => array(
+          'name' => 'role',
+          'settings' => array(
+            'rids' => array(
+              0 => 2,
+            ),
+          ),
+          'context' => 'logged-in-user',
+          'not' => FALSE,
+        ),
+      ),
+    );
     $pane->configuration = array(
       'override_pager_settings' => 0,
       'use_pager' => 1,