MDL-30787 fix use of module and section edit capabilities