approve: [M1b] pbl_blueprint 模板/子对象扩展与关联表
This commit is contained in:
parent
8266c9a33d
commit
d40bc7ca8f
@ -36,9 +36,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