Hi.

Module in question: Drupal Commerce Product
Feature: New Type of Permission
Release: 7.x-1.5+4-dev

Currently, the options for users to manage products are generic and when a user has this option enabled, it can manage all the products on the site. This works fine when all responsible for product management can have access to all products.

However, there isn't an option for each user to manage their own products. Thus, in a type of trade where there are many sellers and each must have access only to their products, they can manage any product. That makes no sense.

Is it possible to add this option or does it already exists and I have not found it? Let me know, ok?

Tks.

Comments

giorgio79’s picture

Great feature request. A step towards a Commerce marketplace.

PS: I am seeing "Edit own product" permission in user permissions? So, this seems to be implemented already.

astutonet’s picture

@giorgio70, thanks for your reply.

If you look at the permissions of Commerce Products module, the option you suggested is already there. See "Edit own products of any type."

My idea perhaps is something greater. I would like to give each user the ability to manage their own products, such as the permission "Administer products". Thus, we could have an option "Administer own products."

This new permission would prevent the enabled users to visualize all the products in the area of administration, giving them access only to what belongs to them.

I still have other ideas. For example, in types of businesses where there are several sellers working together, I need to give specific skills for each of them, such as: manage own orders, manage own inventory, track own prices, track orders of own products, etc..

Indeed, I have a project to create a site with some characteristics similar to those of e-Bay, where I have to individualize the sales. I found many of these features in Drupal Commerce, but the sales here are treated as a singular business, not as a group and I confess that I am finding some difficulties.

Tks

Philben’s picture

I'm having similar issues - granting product owners to view orders of their products. What would be the best way to handle something like that, any ideas?

astutonet’s picture

Hi guys.

Any news or idea about this issue?

Tks

golubovicm’s picture

Confirming that granting product owners to edit only their products doesn't work even there is a permission for that:

If I grant user "Administer products" permission then he can edit all the products.

If I don't give him that then he can't edit any product at all, no matter if I give him "Edit own something product" - that doesn't work.

Please make a fix for this - it's a serious issue.

j4’s picture

Issue summary: View changes

Hi has there been any progress on this?

Thanks
Jaya

bojanz’s picture

Status: Active » Closed (won't fix)

Commerce 1.x is closed for feature requests of this size. It makes more sense to write or find a contrib for the same use case.