bareos: master 45c74452

Author Committer Branch Timestamp Parent
joergs Bareos Bot master 2024-07-01 20:22 master afbdb636 Pending
Changeset acl: fix command ACL handling

ACL handling for commands have been wrong.
The UA detect a command, if all typed chars matches the start of a
command string. E.g. "w" => "whoami", ".cons" => ".consoles", ...
The ACL check also only used the typed part of the command,
so if your ACL denies the command ".consoles",
you could execute it with ".cons" (or ".co").
Now we check with the full command string against the ACL.
mod - core/src/dird/ua_cmds.cc Diff File