Thanks to Theodore and Fabian,

that was exactly what I needed

---markus---


> On 07.01.2016, at 13:03, Theodore Petrosky <[email protected]> wrote:
> 
> I hide/show tabs with boolean values in my user. SO   
> user.security.seesClients is true so I have a condition in my 
> Navigation.plist:
> 
> {
>               name = Client;
>               action = "session.navController.listClientAction";
>               children = ("queryClient", "createClient", "Logout");
>               conditions = ("session.user.security.seesClients");
> }
> 
> if sessClient is true the tab shows if false it is hidden.
> 
> Is this what you are looking for?
> 
> Ted
> 
> 
> 
> 
>> On Jan 7, 2016, at 6:53 AM, Markus Ruggiero <[email protected]> 
>> wrote:
>> 
>> Hi,
>> 
>> I wish you all a happy new year, hope you had a good start.
>> 
>> Here is my problem. Is there a way to dynamically control what is shown by 
>> NavigationMenu.plist? 
>> Background: I have 4 main tabs with the rightmost being for admin users 
>> only. Can I show/hide tabs (maybe also 2nd and 3rd level navigation) on 
>> conditions given by the currently logged-in user?
>> 
>> Is something like session.currentUser.isAdmin=1 and tabname = 'TAB_ADMIN' => 
>> showTab = 1 possible?
>> 
>> Thanks a lot
>> ---markus---
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
>> 
>> This email sent to [email protected]
> 


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to