PRO wcus_admin_permission_map

Allows to change plugin permission map on admin panel.

Usage example:

add_filter('wcus_admin_permission_map', function (array $permissionsMap) {
    // Default permission map
    $permissionsMap = [
        'manage_options' => 'manage_options', // Options page
        'manage_ttn' => 'manage_woocommerce', // Single TTN form page
        'manage_bulk_ttns' => 'manage_woocommerce', // Bulk TTN management page
        'manage_automation' => 'manage_woocommerce', // Automation pages
    ];

    return $permissionsMap;
});