{"action":"created","issue":{"url":"https://api.github.com/repos/GluuFederation/oxTrust/issues/118","labels_url":"https://api.github.com/repos/GluuFederation/oxTrust/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/GluuFederation/oxTrust/issues/118/comments","events_url":"https://api.github.com/repos/GluuFederation/oxTrust/issues/118/events","html_url":"https://github.com/GluuFederation/oxTrust/issues/118","id":107752153,"number":118,"title":"first oxTrust login for Admin does not display correct navigation for manager","user":{"login":"nynymike","id":3717101,"avatar_url":"https://avatars.githubusercontent.com/u/3717101?v=3","gravatar_id":"","url":"https://api.github.com/users/nynymike","html_url":"https://github.com/nynymike","followers_url":"https://api.github.com/users/nynymike/followers","following_url":"https://api.github.com/users/nynymike/following{/other_user}","gists_url":"https://api.github.com/users/nynymike/gists{/gist_id}","starred_url":"https://api.github.com/users/nynymike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nynymike/subscriptions","organizations_url":"https://api.github.com/users/nynymike/orgs","repos_url":"https://api.github.com/users/nynymike/repos","events_url":"https://api.github.com/users/nynymike/events{/privacy}","received_events_url":"https://api.github.com/users/nynymike/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GluuFederation/oxTrust/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"yurem","id":6104200,"avatar_url":"https://avatars.githubusercontent.com/u/6104200?v=3","gravatar_id":"","url":"https://api.github.com/users/yurem","html_url":"https://github.com/yurem","followers_url":"https://api.github.com/users/yurem/followers","following_url":"https://api.github.com/users/yurem/following{/other_user}","gists_url":"https://api.github.com/users/yurem/gists{/gist_id}","starred_url":"https://api.github.com/users/yurem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurem/subscriptions","organizations_url":"https://api.github.com/users/yurem/orgs","repos_url":"https://api.github.com/users/yurem/repos","events_url":"https://api.github.com/users/yurem/events{/privacy}","received_events_url":"https://api.github.com/users/yurem/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-09-22T16:33:43Z","updated_at":"2015-10-15T13:20:23Z","closed_at":null,"body":"Only on the first time I start the Gluu-Server, when admin logs in, it does not display the correct navigation headers for a user with the manager role:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/3717101/10024227/d4ee5056-611b-11e5-9a99-8e5d75975390.png)\r\n\r\nIf I login and logout, I see the correct navigation. In `wrapper.log`, I don't see anything wrong\r\n\r\n```\r\nINFO   | jvm 1    | 2015/09/22 16:17:30 | 2015-09-22 16:17:30,529 INFO  [org.gluu.oxtrust.action.Authenticator] Authenticating user 'admin'\r\nINFO   | jvm 1    | 2015/09/22 16:17:30 | 2015-09-22 16:17:30,530 DEBUG [org.gluu.oxtrust.ldap.service.AppInitializer] Created site LdapAuthEntryManager: org.gluu.site.ldap.persistence.LdapEntryManager@28deb322\r\nINFO   | jvm 1    | 2015/09/22 16:17:30 | 2015-09-22 16:17:30,537 DEBUG [org.gluu.oxtrust.action.Authenticator] Configuring application after user 'admin' login\r\nINFO   | jvm 1    | 2015/09/22 16:17:30 | 2015-09-22 16:17:30,550 INFO  [org.gluu.oxtrust.action.Authenticator] User 'admin' authenticated successfully\r\nINFO   | jvm 1    | 2015/09/22 16:17:31 | 2015-09-22 16:17:31,033 DEBUG [org.gluu.oxtrust.servlet.LogoImageServlet] Starting organization logo upload\r\nINFO   | jvm 1    | 2015/09/22 16:17:31 | 2015-09-22 16:17:31,052 DEBUG [org.gluu.oxtrust.servlet.LogoImageServlet] Successfully send organization logo with \r\n```\r\n\r\nIn `oxtrust.log` I see no errors:\r\n\r\n```\r\n2015-09-22 16:17:30,412 INFO  [org.gluu.oxtrust.action.Authenticator] Session validation successful. User is logged in\r\n2015-09-22 16:17:30,509 INFO  [org.gluu.oxtrust.action.Authenticator] user uid:admin\r\n2015-09-22 16:17:30,529 INFO  [org.gluu.oxtrust.action.Authenticator] Authenticating user 'admin'\r\n2015-09-22 16:17:30,530 DEBUG [org.gluu.oxtrust.ldap.service.AppInitializer] Created site LdapAuthEntryManager: org.gluu.site.ldap.persistence.LdapEntryManager@28deb322\r\n2015-09-22 16:17:30,537 DEBUG [org.gluu.oxtrust.action.Authenticator] Configuring application after user 'admin' login\r\n2015-09-22 16:17:30,550 INFO  [org.gluu.oxtrust.action.Authenticator] User 'admin' authenticated successfully\r\n```\r\n\r\nIn `/opt/opendj/logs/access` I don't see any problem, *nentries=1* which means the group was returned:\r\n\r\n```\r\n[22/Sep/2015:16:17:30 +0000] SEARCH REQ conn=8 op=36 msgID=37 base=\"inum=@!BFB8.45A2.D0E4.1E14!0001!AE27.3A22!0003!60B7,ou=groups,o=@!BFB8.45A2.D0E4.1E14!0001!AE27.3A22,o=gluu\" scope=wholeSubtree filter=\"(&(&(objectClass=top)(objectClass=gluuGroup))(|(owner=inum=@!BFB8.45A2.D0E4.1E14!0001!AE27.3A22!0000!A8F2.DE1E.D7FB,ou=people,o=@!BFB8.45A2.D0E4.1E14!0001!AE27.3A22,o=gluu)(member=inum=@!BFB8.45A2.D0E4.1E14!0001!AE27.3A22!0000!A8F2.DE1E.D7FB,ou=people,o=@!BFB8.45A2.D0E4.1E14!0001!AE27.3A22,o=gluu)))\" attrs=\"c,description,displayName,iname,inum,member,o,owner,seeAlso,gluuStatus,gluuGroupVisibility\"\r\n[22/Sep/2015:16:17:30 +0000] SEARCH RES conn=8 op=36 msgID=37 result=0 nentries=1 etime=1\r\n```\r\n\r\nNote: this problem only occurs when I first start the gluu-server. I was careful about removing all cookies in my browser, so its not an old session cookie. Even if I restart tomcat, it doesn't happen.... so I'm really perplexed about what could be causing it. "},"comment":{"url":"https://api.github.com/repos/GluuFederation/oxTrust/issues/comments/148383642","html_url":"https://github.com/GluuFederation/oxTrust/issues/118#issuecomment-148383642","issue_url":"https://api.github.com/repos/GluuFederation/oxTrust/issues/118","id":148383642,"user":{"login":"yurem","id":6104200,"avatar_url":"https://avatars.githubusercontent.com/u/6104200?v=3","gravatar_id":"","url":"https://api.github.com/users/yurem","html_url":"https://github.com/yurem","followers_url":"https://api.github.com/users/yurem/followers","following_url":"https://api.github.com/users/yurem/following{/other_user}","gists_url":"https://api.github.com/users/yurem/gists{/gist_id}","starred_url":"https://api.github.com/users/yurem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurem/subscriptions","organizations_url":"https://api.github.com/users/yurem/orgs","repos_url":"https://api.github.com/users/yurem/repos","events_url":"https://api.github.com/users/yurem/events{/privacy}","received_events_url":"https://api.github.com/users/yurem/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T13:20:23Z","updated_at":"2015-10-15T13:20:23Z","body":"@nynymike can you create zip with all logs once you will get this issue next time"}}