Drupal permission, a user case -
the objective of site maintain product listing.
- each
productcomposes of title, description , quantity (cck field). - each
productbelongsshop. - each
shophasmanager. - all
productsvisible all. - a
managercan add/editproductsof ownshop. - a site
admincan create newshops, newmanagers.
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:
- create new content type "product" fields specified
- create taxonomy term each shop. enable , require taxonomy on "product" content type
- create role each shop
- enable tac role
- set tac permissions global allow view, deny update, delete, create , list.
- set tac permissions shop's term allow view, update, delete, create , list.
- save , rebuild permissions
that should it, long permissions content type set allow anonymous users view fields in "product".
Comments
Post a Comment