git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sets the right gid for level1_auth in the genitable
[sfa.git]
/
sfa
/
plc
/
sfa-import-plc.py
diff --git
a/sfa/plc/sfa-import-plc.py
b/sfa/plc/sfa-import-plc.py
index
d2d80c3
..
8641e06
100755
(executable)
--- a/
sfa/plc/sfa-import-plc.py
+++ b/
sfa/plc/sfa-import-plc.py
@@
-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)