Code

Updated account handling
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 28 Aug 2009 07:07:02 +0000 (07:07 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 28 Aug 2009 07:07:02 +0000 (07:07 +0000)
- Roles can activate account extensions, accounts itself can't.
- Fixed tab initialization, set is_account correctly.
- Fixed edit from MyAccount section

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14152 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/roleManagement/admin/roleManagement/tabs_roles.inc

index 59bd541ab220cb657b9b6a324d1a854fa66038b7..11f6d1f3721f00eb61168d5912b4ee47455268df 100644 (file)
@@ -27,7 +27,14 @@ class roletabs extends tabs
        {
                tabs::tabs($config, $data, $dn,"roles",$hide_refs, $hide_acls);
                $this->base = $baseobject= $this->by_object['roleGeneric']->base;
+
+    foreach($this->by_object as $plugin){
+      uniBonnAccount::propagateRoleAttributes($config, NULL, $plugin,$this);
+    }
+
                $this->addSpecialTabs();
+
+    
        }
 
        function save_object($save_current= FALSE)