Drupal permission, a user case -


the objective of site maintain product listing.

  • each product composes of title, description , quantity (cck field).
  • each product belongs shop.
  • each shop has manager.
  • all products visible all.
  • a manager can add/edit products of own shop.
  • a site admin can create new shops , new managers.

how can set permission above scenario?

i thinking of using taxonomy shop names, taxonomy access control permission control. not sure whether on right track though...

besides, organic groups option?

thanks!

tac solves problems. i'm using in similar scenario. here's how set up:

  1. create new content type "product" fields specified
  2. create taxonomy term each shop. enable , require taxonomy on "product" content type
  3. create role each shop
  4. enable tac role
  5. set tac permissions global allow view, deny update, delete, create , list.
  6. set tac permissions shop's term allow view, update, delete, create , list.
  7. save , rebuild permissions

that should it, long permissions content type set allow anonymous users view fields in "product".


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -