10 lines
209 B
Text
10 lines
209 B
Text
% for name, conf in sorted(users.items()):
|
|
object ApiUser "${name}" {
|
|
password = "${conf['password']}"
|
|
permissions = [
|
|
% for permission in conf['permissions']:
|
|
"${permission}",
|
|
% endfor
|
|
]
|
|
}
|
|
% endfor
|