antoniop
committed
on 21 Sep 22
Fix boolean expression, as the permission api will return a generic boolean, not necessarily 1 or 0