add option to provide public access to a master mode

Reviewed-by: Charles Joly Beauparlant <Charles.Joly-Beauparlant@crchul.ulaval.ca>
Signed-off-by: Sébastien Boisvert <sebastien.boisvert.3@ulaval.ca>