Application security labels defined in framework

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Application security labels defined in framework

Bruno Busco
Hi,
while browsing through labels adding translations I found the following:
In ofbiz\framework\security\config\SecurityEntityLabels.xml there are lots
of applications related labels like:

    <property key="SecurityGroup.description.CATALOGADMIN">
        <value xml:lang="en">Catalog Admin group, has all catalog
permissions.</value>
        <value xml:lang="es">Administrador del Catálogo, tiene todos los
permisos de Catálogo.</value>
        <value xml:lang="ru">Группа 'Администратор каталога', содержит все
права на каталог.</value>
        <value xml:lang="th">กลุ่มผู้ดูแลระบบหมวดหมู่,
มีการอนุญาตหมวดหมู่ทั้งหมด.</value>
    </property>
or
    <property key="SecurityPermission.description.MANUFACTURING_CREATE">
        <value xml:lang="en">Create operations in the Manufacturing
Manager.</value>
        <value xml:lang="es">Operaciones de Creación en el Administrador de
Producción.</value>
        <value xml:lang="ru">Операции создания в приложении  Управление
производством.</value>
        <value xml:lang="th">สร้างการทำงานในการจัดการการผลิต</value>
    </property>

I think that this should not be because the framework should not be
affected, for instance, by an addition of another manufacturing application
permission, am I right?
So, could you please express a guideline in order that I could also fix this
while adding new languages?

Many thanks,
-Bruno
Reply | Threaded
Open this post in threaded view
|

Re: Application security labels defined in framework

Bruno Busco
Reading myself I found I was not very clear, sorry.

What I meant is:
Since the framework should not depend on any application, shouldn't the
SecurityEntityLabels be moved from the framework
ofbiz\framework\security\config\SecurityEntityLabels.xml file to several
application specific SecurityEntityLabels.xml files located in the
applications config folder?

Many thanks,
Bruno


2008/7/9 Bruno Busco <[hidden email]>:

> Hi,
> while browsing through labels adding translations I found the following:
> In ofbiz\framework\security\config\SecurityEntityLabels.xml there are lots
> of applications related labels like:
>
>     <property key="SecurityGroup.description.CATALOGADMIN">
>         <value xml:lang="en">Catalog Admin group, has all catalog
> permissions.</value>
>         <value xml:lang="es">Administrador del Catálogo, tiene todos los
> permisos de Catálogo.</value>
>         <value xml:lang="ru">Группа 'Администратор каталога', содержит все
> права на каталог.</value>
>         <value xml:lang="th">กลุ่มผู้ดูแลระบบหมวดหมู่,
> มีการอนุญาตหมวดหมู่ทั้งหมด.</value>
>     </property>
> or
>     <property key="SecurityPermission.description.MANUFACTURING_CREATE">
>         <value xml:lang="en">Create operations in the Manufacturing
> Manager.</value>
>         <value xml:lang="es">Operaciones de Creación en el Administrador de
> Producción.</value>
>         <value xml:lang="ru">Операции создания в приложении  Управление
> производством.</value>
>         <value xml:lang="th">สร้างการทำงานในการจัดการการผลิต</value>
>     </property>
>
> I think that this should not be because the framework should not be
> affected, for instance, by an addition of another manufacturing application
> permission, am I right?
> So, could you please express a guideline in order that I could also fix
> this while adding new languages?
>
> Many thanks,
> -Bruno
>
Reply | Threaded
Open this post in threaded view
|

Re: Application security labels defined in framework

Jacques Le Roux
Administrator
Bruno,

This makes sense indeed.

Jacques

From: "Bruno Busco" <[hidden email]>

> Reading myself I found I was not very clear, sorry.
>
> What I meant is:
> Since the framework should not depend on any application, shouldn't the
> SecurityEntityLabels be moved from the framework
> ofbiz\framework\security\config\SecurityEntityLabels.xml file to several
> application specific SecurityEntityLabels.xml files located in the
> applications config folder?
>
> Many thanks,
> Bruno
>
>
> 2008/7/9 Bruno Busco <[hidden email]>:
>
>> Hi,
>> while browsing through labels adding translations I found the following:
>> In ofbiz\framework\security\config\SecurityEntityLabels.xml there are lots
>> of applications related labels like:
>>
>>     <property key="SecurityGroup.description.CATALOGADMIN">
>>         <value xml:lang="en">Catalog Admin group, has all catalog
>> permissions.</value>
>>         <value xml:lang="es">Administrador del Catálogo, tiene todos los
>> permisos de Catálogo.</value>
>>         <value xml:lang="ru">Группа 'Администратор каталога', содержит все
>> права на каталог.</value>
>>         <value xml:lang="th">กลุ่มผู้ดูแลระบบหมวดหมู่,
>> มีการอนุญาตหมวดหมู่ทั้งหมด.</value>
>>     </property>
>> or
>>     <property key="SecurityPermission.description.MANUFACTURING_CREATE">
>>         <value xml:lang="en">Create operations in the Manufacturing
>> Manager.</value>
>>         <value xml:lang="es">Operaciones de Creación en el Administrador de
>> Producción.</value>
>>         <value xml:lang="ru">Операции создания в приложении  Управление
>> производством.</value>
>>         <value xml:lang="th">สร้างการทำงานในการจัดการการผลิต</value>
>>     </property>
>>
>> I think that this should not be because the framework should not be
>> affected, for instance, by an addition of another manufacturing application
>> permission, am I right?
>> So, could you please express a guideline in order that I could also fix
>> this while adding new languages?
>>
>> Many thanks,
>> -Bruno
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Application security labels defined in framework

Bruno Busco
Trying to work out how to move application related labels that are now
located in ofbiz\framework\security\config\SecurityEntityLabels.xml I found
out that in screen
https://demo.hotwaxmedia.com/partymgr/control/FindSecurityGroup
the descriptions are always displayed in english regardless of the selected
language. Is this a bug?

Thank you,
-Bruno


2008/7/9 Jacques Le Roux <[hidden email]>:

> Bruno,
>
> This makes sense indeed.
>
> Jacques
>
> From: "Bruno Busco" <[hidden email]>
>
>  Reading myself I found I was not very clear, sorry.
>>
>> What I meant is:
>> Since the framework should not depend on any application, shouldn't the
>> SecurityEntityLabels be moved from the framework
>> ofbiz\framework\security\config\SecurityEntityLabels.xml file to several
>> application specific SecurityEntityLabels.xml files located in the
>> applications config folder?
>>
>> Many thanks,
>> Bruno
>>
>>
>> 2008/7/9 Bruno Busco <[hidden email]>:
>>
>>  Hi,
>>> while browsing through labels adding translations I found the following:
>>> In ofbiz\framework\security\config\SecurityEntityLabels.xml there are
>>> lots
>>> of applications related labels like:
>>>
>>>    <property key="SecurityGroup.description.CATALOGADMIN">
>>>        <value xml:lang="en">Catalog Admin group, has all catalog
>>> permissions.</value>
>>>        <value xml:lang="es">Administrador del Catálogo, tiene todos los
>>> permisos de Catálogo.</value>
>>>        <value xml:lang="ru">Группа 'Администратор каталога', содержит все
>>> права на каталог.</value>
>>>        <value xml:lang="th">กลุ่มผู้ดูแลระบบหมวดหมู่,
>>> มีการอนุญาตหมวดหมู่ทั้งหมด.</value>
>>>    </property>
>>> or
>>>    <property key="SecurityPermission.description.MANUFACTURING_CREATE">
>>>        <value xml:lang="en">Create operations in the Manufacturing
>>> Manager.</value>
>>>        <value xml:lang="es">Operaciones de Creación en el Administrador
>>> de
>>> Producción.</value>
>>>        <value xml:lang="ru">Операции создания в приложении  Управление
>>> производством.</value>
>>>        <value xml:lang="th">สร้างการทำงานในการจัดการการผลิต</value>
>>>    </property>
>>>
>>> I think that this should not be because the framework should not be
>>> affected, for instance, by an addition of another manufacturing
>>> application
>>> permission, am I right?
>>> So, could you please express a guideline in order that I could also fix
>>> this while adding new languages?
>>>
>>> Many thanks,
>>> -Bruno
>>>
>>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Application security labels defined in framework

Scott Gray
Hi Bruno

Yes it was a bug, fixed in rev. 684244

Regards
Scott

2008/7/10 Bruno Busco <[hidden email]>:

> Trying to work out how to move application related labels that are now
> located in ofbiz\framework\security\config\SecurityEntityLabels.xml I found
> out that in screen
> https://demo.hotwaxmedia.com/partymgr/control/FindSecurityGroup
> the descriptions are always displayed in english regardless of the selected
> language. Is this a bug?
>
> Thank you,
> -Bruno
>
>
> 2008/7/9 Jacques Le Roux <[hidden email]>:
>
>> Bruno,
>>
>> This makes sense indeed.
>>
>> Jacques
>>
>> From: "Bruno Busco" <[hidden email]>
>>
>>  Reading myself I found I was not very clear, sorry.
>>>
>>> What I meant is:
>>> Since the framework should not depend on any application, shouldn't the
>>> SecurityEntityLabels be moved from the framework
>>> ofbiz\framework\security\config\SecurityEntityLabels.xml file to several
>>> application specific SecurityEntityLabels.xml files located in the
>>> applications config folder?
>>>
>>> Many thanks,
>>> Bruno
>>>
>>>
>>> 2008/7/9 Bruno Busco <[hidden email]>:
>>>
>>>  Hi,
>>>> while browsing through labels adding translations I found the following:
>>>> In ofbiz\framework\security\config\SecurityEntityLabels.xml there are
>>>> lots
>>>> of applications related labels like:
>>>>
>>>>    <property key="SecurityGroup.description.CATALOGADMIN">
>>>>        <value xml:lang="en">Catalog Admin group, has all catalog
>>>> permissions.</value>
>>>>        <value xml:lang="es">Administrador del Catálogo, tiene todos los
>>>> permisos de Catálogo.</value>
>>>>        <value xml:lang="ru">Группа 'Администратор каталога', содержит все
>>>> права на каталог.</value>
>>>>        <value xml:lang="th">กลุ่มผู้ดูแลระบบหมวดหมู่,
>>>> มีการอนุญาตหมวดหมู่ทั้งหมด.</value>
>>>>    </property>
>>>> or
>>>>    <property key="SecurityPermission.description.MANUFACTURING_CREATE">
>>>>        <value xml:lang="en">Create operations in the Manufacturing
>>>> Manager.</value>
>>>>        <value xml:lang="es">Operaciones de Creación en el Administrador
>>>> de
>>>> Producción.</value>
>>>>        <value xml:lang="ru">Операции создания в приложении  Управление
>>>> производством.</value>
>>>>        <value xml:lang="th">สร้างการทำงานในการจัดการการผลิต</value>
>>>>    </property>
>>>>
>>>> I think that this should not be because the framework should not be
>>>> affected, for instance, by an addition of another manufacturing
>>>> application
>>>> permission, am I right?
>>>> So, could you please express a guideline in order that I could also fix
>>>> this while adding new languages?
>>>>
>>>> Many thanks,
>>>> -Bruno
>>>>
>>>>
>>>
>>
>