History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: APF-879
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Matt Raible
Reporter: Arvinder Brar
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
AppFuse

Menu not working correctly in certain cases

Created: 12/Sep/07 01:24 AM   Updated: 26/Sep/07 06:12 AM
Component/s: None
Affects Version/s: 2.0-RC1
Fix Version/s: 2.0 Final

File Attachments: 1. XML File menu-config.xml (2 kb)
2. Text File menu.jsp (0.6 kb)
3. Text File menu.patch (1 kb)

Image Attachments:

1. user_screenshot.jpg
(84 kb)
Environment: Win XP/jetty/mysql


 Description  « Hide
   I added a menu with two items to the default menu (as in the attached menu-config.xml). The user 'user' has access to everything (including the adminstration menu) except for one item in the new menu. When I login as admin user everything is fine but when I login as 'user' the menu is messed up.



 All   Comments   Change History   FishEye      Sort Order:
Matt Raible - 16/Sep/07 01:08 PM
This seems to be working as designed. Your new menu only allows the ROLE_USER to access one menu. Also, it looks like your Admin Menu allows users to view it as well:

roles="ROLE_ADMIN,ROLE_USER"

Matt

Arvinder Brar - 16/Sep/07 03:18 PM
Matt,
    The menu functionality is working as designed, but I opened this bug as display is not correct. I apologize for not explaining it well earlier.
I have attached the screenshot of what the user 'user' sees when he logs in.
The administration menu appears 'exploded' .
It appears fine when I login as admin user.
Arvinder

Matt Raible - 16/Sep/07 03:43 PM
Re-opening based on more thorough explanation.

Matt Raible - 16/Sep/07 11:45 PM
The attached patch seems to fix the problem. Please confirm.

Arvinder Brar - 26/Sep/07 06:12 AM
It is working perfectly now. Thanks Matt!
Arvinder