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