[#78864160] use one permission flag instead of two