Skip to content
Snippets Groups Projects
Commit 3ad22e9c authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

add bauzil in allowed_rooms

parent 955dc0ec
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ FILTERS = {
"laas-mach-type": ["PC"],
"laas-mach-origineAchat": ["LAAS", "autre"], # exclude perso
}
STORAGE_ROOMS = ["B10", "B12"]
ALLOWED_ROOMS = ["B10", "B12", "B15"]
def short(attr: str) -> str:
......@@ -150,7 +150,7 @@ if __name__ == "__main__":
print(f"{k}: wrong user '{v['utilisateur']}'")
continue
user = users_data[v["utilisateur"]]
if user["room"] != v["room"] and v["room"] not in STORAGE_ROOMS:
if user["room"] != v["room"] and v["room"] not in ALLOWED_ROOMS:
print(
f"{k}: wrong user's ({user['uid']}) room "
f"'{user['room']}' != '{v['room']}'"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment