Revert "env var instead"

This reverts commit 36c7876c40f06c5bbda53f0c3128171f099c1d4d.
Revert "prevent this app from promoting or demoting masters"

This reverts commit 44e50f1723aa239fba461605abcbdf8337f28d1a.