Login  Register

Re: Need for ProductRole

Posted by Scott Gray on Jul 11, 2006; 10:27am
URL: http://ofbiz.116.s1.nabble.com/Need-for-ProductRole-tp169561p169565.html

Hi Ian

It looks like the role is set on the category admin page in the Catalog App.
i.e.  
https://localhost:8443/catalog/control/EditCategoryParties?productCategoryId=101

Regards
Scott

Ian Gilbert wrote:

> Hi David,
>
> I can't see how to set this I'm afraid.  There doesn't seem to be a ProductCategoryRole tab in the
> party manager.  Is this done in Webtools?  How would this be done?
>
> I am curious as we had a requirement to do this a while ago but it was delayed and it might be a
> quick fix now.
>
> Very best wishes
>
> Ian
>
>
> On Mon, July 10, 2006 17:54, David E. Jones wrote:
>  
>
>  
>> 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
>>>>
>>>>
>>>>        
>
>
>