[checkmk-commits] inventory webapi: Fixed permission checking when using distributed monitoring