Re: Need for ProductRole
Posted by
David E Jones-2 on
Jul 10, 2006; 5:54pm
URL: http://ofbiz.116.s1.nabble.com/Need-for-ProductRole-tp169561p169563.html
This probably the best pattern to use, ie Party -> ProductCategoryRole -> ProductCategoryMember -> Product
The reason I say this is that the pattern is already being used for role-limited permissions in the Catalog Manager. For details see the product permission checking simple-method in ProductServices.xml.
-David
Chris Howe wrote:
> There are Category roles. Adding a product to a
> category that someone has permissions over would be
> generally easier to manage. Remember that catalogs
> don't need to be associated with product stores to be
> useful using custom screens and categories don't need
> to be associated with catalogs.
>
> --- Al Byers <
[hidden email]> wrote:
>
>> I think I have a need for a ProductRole that mirrors
>> the ContentRole
>> entity. I want to associate a manager with a
>> product. Is there another
>> way to do this? If not, should I just create such an
>> entity for this
>> custom use or should it be something to propose for
>> general use?
>>
>> -Al
>>
>