Add Module source as argument of hasPermission.