? .DS_Store
? spaces_site_should_work_now.patch
Index: spaces.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/spaces/spaces.module,v
retrieving revision 1.25.4.33.2.8
diff -u -p -r1.25.4.33.2.8 spaces.module
--- spaces.module	24 Apr 2009 19:11:48 -0000	1.25.4.33.2.8
+++ spaces.module	3 May 2009 17:26:01 -0000
@@ -1524,21 +1524,19 @@ function spaces_active_space_menu($type,
 
   $items[$path_prefix. 'spaces/features'] = array(
     'title' => t('Features'),
-    'page arguments' => array('spaces_features_form'),
-    'access arguments' => array($type, 'features'),
+    'page arguments' => array($type, 'features', 'spaces_features_form'),
     'type' => MENU_LOCAL_TASK,
     'weight' => 1,
   );
   $items[$path_prefix. 'spaces/features/%'] = array(
     'title' => t('Features'),
-    'page arguments' => array('spaces_customize_form', NULL, 2 + $arg_count),
-    'access arguments' => array($type, 'features'),
+    'page arguments' => array($type, 'features', 'spaces_customize_form', NULL, 2 + $arg_count),
     'type' => MENU_LOCAL_TASK,
     'weight' => 1,
   );
   foreach ($items as $path => $item) {
-    $items[$path]['page callback'] = 'drupal_get_form';
-    $items[$path]['access callback'] = 'spaces_admin_access';
+    $items[$path]['page callback'] = 'spaces_admin_form';
+    $items[$path]['access callback'] = TRUE;
     $items[$path]['file'] = 'spaces_admin.inc';
     $items[$path]['file path'] = $spaces_path;
   }
Index: spaces_admin.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/spaces/spaces_admin.inc,v
retrieving revision 1.1.4.16.2.3
diff -u -p -r1.1.4.16.2.3 spaces_admin.inc
--- spaces_admin.inc	14 Apr 2009 19:59:01 -0000	1.1.4.16.2.3
+++ spaces_admin.inc	3 May 2009 17:26:01 -0000
@@ -475,6 +475,14 @@ function spaces_basic_form_submit($form,
  * FEATURE SETTINGS ===================================================
  */
 
+function spaces_admin_form() {
+  $args = func_get_args();
+  if (!spaces_admin_access(array_shift($args), array_shift($args))) {
+    spaces_access_denied();
+  }
+  return call_user_func_array('drupal_get_form', $args);
+}
+
 function spaces_features_form(&$form_state, $space = NULL) {
   // Attempt to get current space if not provided
   $space = !isset($space) ? spaces_get_space() : $space;
