sets the right gid for level1_auth in the genitable
authorAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Tue, 21 Jul 2009 18:04:52 +0000 (18:04 +0000)
committerAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Tue, 21 Jul 2009 18:04:52 +0000 (18:04 +0000)
sfa/plc/sfa-import-plc.py

index d2d80c3..8641e06 100755 (executable)
@@ -282,6 +282,8 @@ def create_top_level_auth_records(hrn):
     if not parent_hrn:
         parent_hrn = hrn    
     auth_info = AuthHierarchy.get_auth_info(parent_hrn)
+    if level1_auth:
+        auth_info = AuthHierarchy.get_auth_info(hrn)
     table = get_auth_table(parent_hrn)
 
     auth_record = table.resolve("authority", hrn)