fine grained security to allow various stages of control - view, execute and all

(cherry picked from commit e08ebc23b28714c54100cf59a28d7f30475093a9)