2
Answers
Vote up!
0
Vote down!

"Edit own products" permission is not working!

Hello,

I'm making a shop that should have many administrators and everyone should be able to edit only his own products. Problem is that if I give some role "Administer products" permission users with that role can edit any product. And without that permission they can't edit any product. There is a role "Edit own product" but it doesn't work.

Some other people too reported this problem: https://drupal.org/node/1919100

Can anyone help please?

Best regards,
Milan

Asked by: golubovicm
on December 20, 2013

2 Answers

Vote up!
0
Vote down!

golubovicm,

I just confirmed by doing this locally. The permission does, in fact, work as described. It's a little tricky to get right, and you would have to have some links in place for people to click on.

Created a quick screencast to walk you through this setup.

The permissions you need:

Create new content
Edit own content
Delete own content

... of any product display content type, and ...

Create "___" products
Edit own "___" products
View own "___" products

You might need to create a view to help users see a list of products they can edit.

ALSO NOTE: In the screencast, I didn't actually click "Edit" for any of the products made by the stripped down user. Just tried that and the functionality works as expected.

Josh

Josh Miller
Answer by: Josh Miller
Posted: Jan 3, 2014
Vote up!
0
Vote down!

Hi Josh,

Unfortunately, that solution is not good enough form me. In my shop administrators only have permission to edit own products. It's not allowed for them to create/delete.

IMHO this should be fixed properly - every permission should work on it's own, what's expected to do.

Thanks anyway - your answer may be helpful to somebody else maybe.

Best regards,
Milan

Answer by: golubovicm
Posted: Jan 6, 2014