Disable editing from UI

Add function to disable editing on rc branch.