Drupal is a registered trademark of Dries Buytaert
drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! linkit 7.0.14 Minor update available for module linkit (7.0.14). diff 2.0.0 Major update available for module diff (2.0.0). masquerade 8.x-2.2 Minor update available for module masquerade (8.x-2.2). video_embed_field 3.1.0 Minor update available for module video_embed_field (3.1.0). bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). leaflet 10.4.8 Minor update available for module leaflet (10.4.8). single_content_sync 1.4.15 Minor update available for module single_content_sync (1.4.15). eca 3.1.2 Minor update available for module eca (3.1.2).

The Commerce Product Variation Access module gives store owners and marketplace operators fine-grained control over who can edit or delete product variations in Drupal Commerce. By default, Drupal Commerce only offers an all-or-nothing "manage variations" permission — meaning any user granted that permission can edit every variation on the site, regardless of who created it. This module solves that problem by introducing ownership-based access: users can only edit or delete the product variations they themselves created.

This is especially useful for multi-vendor stores, marketplaces, or any site where individual users manage their own product listings.

Features

Introduces two new permissions: Edit own product variations only and Delete own product variations only
Ownership is determined by the uid field on the variation itself — the user who created it
Ownership restrictions apply to all roles, including the Administrator role
Variations the current user cannot edit are shown with a grayed-out locked indicator in the variations list, making it immediately clear which variations are off-limits
Direct URL access to another user's variation edit form returns 403 Access Denied — the restriction is enforced at the entity access level, not just the UI
Works across all product variation bundle types (Physical, Digital, etc.)
No configuration interface needed — install and assign permissions

Post-Installation

After enabling the module:

Go to Admin → People → Permissions (/admin/people/permissions)
Find the Commerce Product Variation Access section
Grant Edit own product variations only and/or Delete own product variations only to the roles that should have ownership-restricted access (e.g. authenticated)
Optionally grant these permissions to the administrator role if you want ownership rules to apply to admins as well
No additional configuration pages are required. The module takes effect immediately after permissions are saved.

Additional Requirements

Drupal 11 or later
Drupal Commerce (drupal/commerce) 2.x — specifically the commerce_product submodule

Commerce Shipping (drupal/commerce_shipping) — if your store uses physical product variations, this pairs naturally with ownership-based variation management
Profile (drupal/profile) — useful for multi-vendor setups where each vendor manages their own product catalog

Similar projects

Commerce Product Permissions — provides per-bundle product-level permissions but does not address ownership-scoped variation access
Entity Access Policies — a general-purpose entity access framework; more powerful but requires significant configuration to achieve the same result this module provides out of the box

Supporting this Module

If you find this module useful, please consider leaving a review on drupal.org or contributing bug reports and patches through the issue queue.

Community Documentation

Issue queue: https://www.drupal.org/project/commerce_product_variation_access/issues
Drupal Commerce documentation: https://docs.drupalcommerce.org

Activity

Total releases
1
First release
May 2026
Latest release
18 hours ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
1.0.0 Stable May 7, 2026