approve: [M1b] pbl_blueprint 模板/子对象扩展与关联表
This commit is contained in:
parent
e570dfacde
commit
537f309bc4
@ -33,9 +33,9 @@ def register():
|
|||||||
done += 1
|
done += 1
|
||||||
else:
|
else:
|
||||||
missing.append((path, role))
|
missing.append((path, role))
|
||||||
print('[%s] rbac paths: total=%%d ok=%%d pending=%%d' %% (len(PATHS), done, len(missing)))
|
print('[%s] rbac paths: total=%d ok=%d pending=%d' %(len(PATHS), done, len(missing)))
|
||||||
for path, role in missing:
|
for path, role in missing:
|
||||||
print(' PENDING %%-12s %%s' %% (role, path))
|
print(' PENDING %%-12s %s' %(role, path))
|
||||||
return len(missing) == 0
|
return len(missing) == 0
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user