fixes #7116 merge menu permission