acl: Fix allowed_file with uernames.
commit7dcc370c9e829be2b458e7336ec3b020099b7a51
authorBen Kibbey <bjk@luxsci.net>
Thu, 10 Dec 2020 17:01:23 +0000 (10 09:01 -0800)
committerBen Kibbey <bjk@luxsci.net>
Thu, 10 Dec 2020 17:01:23 +0000 (10 09:01 -0800)
tree974b943f6ac32aa49c40db3dd4257b7a58e57301
parent9c0eecca9218b2486853d59969cc10b86b3b54b3
acl: Fix allowed_file with uernames.

A command path may be specfied in allowed_file but also usernames.
Prevent allowing a connection when some commands are allowed but not the
current one along with the connecting user.
src/acl.c