Basata Theme - No Admin Panel for Admins in Multisite?

I had a member in my live chat having issues with sub site admins on a multisite setup getting access to the TIELabs Basata admin options.

Basically they couldn't see the Basata admin menu so that they could set up the theme to their liking.

The issue is in /basata/panel/mpanel-functions.php around line 162:

add_menu_page(theme_name.' Settings', theme_name ,'install_themes', 'panel' , 'panel_options', $icon  );
$theme_page = add_submenu_page('panel',theme_name.' Settings', theme_name.' Settings','install_themes', 'panel' , 'panel_options');
add_submenu_page('panel',theme_name.' Documentation', 'Documentation','install_themes', 'docs' , 'redirect_docs');

We're doing a check on their capability, we're looking for if they can install themes and whilst on a single site that is true, in a multisite it would not be unless you're a Network Admin.

The fix, change that code to this:

add_menu_page(theme_name.' Settings', theme_name ,'manage_options', 'panel' , 'panel_options', $icon  );
$theme_page = add_submenu_page('panel',theme_name.' Settings', theme_name.' Settings','manage_options', 'panel' , 'panel_options');
add_submenu_page('panel',theme_name.' Documentation', 'Documentation','manage_options', 'docs' , 'redirect_docs');

And now we're checking to make sure they can manage options, which will return true on both single site and multisite where they can administer the website.

Hope this might help other users of this theme.

Have an awesome day people!