EDIT: I have created a new module with its own menu structure using the following xml:
<menuitem name="MyMenuRoot" id="base.menu_mymenuroot" sequence="10"/>
The menu structure appears just fine when I am logged in as admin. Now I want to apply restrictions to user access.
So as per the guides, I followed these steps:
Created a new group. Only specified a name and left everything else as is.
Created a new user. Specified name, login name and checked the checkbox that appeared for the new group I created in step 1. Also set a password for the user.
Went to User Interface -> Menu Items. Clicked the top node of the menu hierarchy that I had defined for my module. In Groups tab I added the new group as well as Admin groups.
Logged in with the new user. The menu was not visible.
Then I added child menus of the top node of the menu hierarchy. And then grand-child (leaf) menu items. No luck.
Menu only appears when I give object-level access rights. But that is too tedious for me to explain to my client. As per the manuals the steps I took should work.
Please suggest how to set menu level rights without setting object level rights.
I am doing all this from the interface not xml.
I opened Warehouse menu item and added the new group to it. I logged in with the new user and was able to see the Warehouse menu.
That probably means it is a menu-configuration issue somewhere??
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 12/20/13, 6:06 AM|
|Seen: 4224 times|
|Last updated: 3/16/15, 8:10 AM|