Using the following snippet, you will be able to change role access to menu and widgets in WordPress.

Snippet Source/Credit: WP-Snippets.com