CommonScreens.xml : <set field="activeApp" value="catalogmgr" global="true"/>

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

CommonScreens.xml : <set field="activeApp" value="catalogmgr" global="true"/>

vijay Si
Hi

1) What does this line of code imply in

CommonScreens.xml file :
<set field="activeApp" value="catalogmgr" global="true"/>

2) How and where do i set permissions for my application

i am reffering to following piece of code

<section>
                            <!-- do check for CATALOG, _VIEW permission -->
                            <condition>
                                <if-has-permission permission="CATALOG"
action="_VIEW"/>
                            </condition>


Where is _VIEW permission set for CATALOG.

Thanks..
Reply | Threaded
Open this post in threaded view
|

Re: CommonScreens.xml : <set field="activeApp" value="catalogmgr" global="true"/>

Gauri R
Hi,

These permissions are setup in the security_group_permission  table/entity
in the database.

The relationship is
a USER in the USER_LOGIN table is associated with 1 or more security groups
in the USER_LOGIN_SECURITY_GROUP table

The Security Groups are defined on the Security_Group table.
Each security Group is further assigned permissions (this is on the
security_group_permission table).

so in the eg you mention below, the permission you need to look for is
"CATALOG_VIEW"
look for a SecurityGroupId  which has this permission and look for a user
which is associated with that id.

hope this helps.
rgds.
Gri.

On 8/16/07, vijay Si <[hidden email]> wrote:

>
> Hi
>
> 1) What does this line of code imply in
>
> CommonScreens.xml file :
> <set field="activeApp" value="catalogmgr" global="true"/>
>
> 2) How and where do i set permissions for my application
>
> i am reffering to following piece of code
>
> <section>
>                            <!-- do check for CATALOG, _VIEW permission -->
>                            <condition>
>                                <if-has-permission permission="CATALOG"
> action="_VIEW"/>
>                            </condition>
>
>
> Where is _VIEW permission set for CATALOG.
>
> Thanks..
>
Reply | Threaded
Open this post in threaded view
|

Re: CommonScreens.xml : <set field="activeApp" value="catalogmgr" global="true"/>

jonwimp
Hi Vijay,

 >> 1) What does this line of code imply in
 >>
 >> CommonScreens.xml file :
 >> <set field="activeApp" value="catalogmgr" global="true"/>

Seems the flag "activeApp" may no longer be in use.

See /framework/common/webcommon/includes/appbar.ftl . Find "<#if thisApp == contextPath>".

Jonathon

Gauri R wrote:

> Hi,
>
> These permissions are setup in the security_group_permission  table/entity
> in the database.
>
> The relationship is
> a USER in the USER_LOGIN table is associated with 1 or more security groups
> in the USER_LOGIN_SECURITY_GROUP table
>
> The Security Groups are defined on the Security_Group table.
> Each security Group is further assigned permissions (this is on the
> security_group_permission table).
>
> so in the eg you mention below, the permission you need to look for is
> "CATALOG_VIEW"
> look for a SecurityGroupId  which has this permission and look for a user
> which is associated with that id.
>
> hope this helps.
> rgds.
> Gri.
>
> On 8/16/07, vijay Si <[hidden email]> wrote:
>> Hi
>>
>> 1) What does this line of code imply in
>>
>> CommonScreens.xml file :
>> <set field="activeApp" value="catalogmgr" global="true"/>
>>
>> 2) How and where do i set permissions for my application
>>
>> i am reffering to following piece of code
>>
>> <section>
>>                            <!-- do check for CATALOG, _VIEW permission -->
>>                            <condition>
>>                                <if-has-permission permission="CATALOG"
>> action="_VIEW"/>
>>                            </condition>
>>
>>
>> Where is _VIEW permission set for CATALOG.
>>
>> Thanks..
>>
>
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.484 / Virus Database: 269.12.4/969 - Release Date: 8/23/2007 4:04 PM