mirror of
https://gitlab.com/sfz.aalen/infra/fabaccess.git
synced 2025-05-09 11:23:23 +02:00
Adding message with missing machine permission if user is missing a specific permission
This commit is contained in:
parent
0c6e188367
commit
eb7e7c693c
@ -65,6 +65,7 @@ def handle_request(msg, client):
|
||||
print(f'user with id {fabcard_id} is missing FabPermissions attr')
|
||||
|
||||
if not has_permission(user_permissions, machine_id):
|
||||
print(f"user with id {fabcard_id} is missing {machine_id}")
|
||||
MqttHandler.print_to_display(reader_id, 7, '')
|
||||
return
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user