Hi Hemalka, Even super admin can't see your new menu? Please post your complete component.xml file.
Thanks, Bhathiya On Fri, Mar 6, 2015 at 2:31 PM, Hemika Kodikara <[email protected]> wrote: > Hi Manorama, > > Correction, the name of the file was "component.xml" not "components.xml" > . Sorry for the typo. > > Regards, > Hemika > > Hemika Kodikara > Software Engineer > WSO2 Inc. > lean . enterprise . middleware > http://wso2.com > > Mobile : +94777688882 > > On Fri, Mar 6, 2015 at 9:48 AM, Manorama Perera <[email protected]> wrote: > >> Hi Hemika, >> >> I think the reason for the menu not being displayed is that the name of >> the xml file is incorrect. >> It should be "component.xml", not "components.xml". >> >> Thanks. >> >> On Wed, Mar 4, 2015 at 3:41 PM, Hemika Kodikara <[email protected]> wrote: >> >>> I believe I made a mistake here by adding "<require-permission>/ >>> permission/admin/login</require-permission>" permission to the parent >>> node as it the menu items should be under "Manage" node. >>> >>> So I removed the specific permissions to it, yet I still cannot see the >>> menu item with "queue_menu" as id. Any advice on this ? >>> >>> My purpose is to show the following menu items based on the permissions >>> provided. In way that the parent menu item does not hide them. >>> >>> <menu> >>> <id>queue_browse</id> >>> <i18n-key>browse</i18n-key> >>> >>> <i18n-bundle>org.wso2.carbon.andes.ui.i18n.Resources</i18n-bundle> >>> <parent-menu>queue_menu</parent-menu> >>> <link>../queues/queue_details.jsp</link> >>> <region>region1</region> >>> <order>10</order> >>> <style-class>manage</style-class> >>> <icon>../queues/images/list.gif</icon> >>> >>> <require-permission>/permission/admin/manage/queue/browseQueue</require-permission> >>> </menu> >>> <menu> >>> <id>queues_add</id> >>> <i18n-key>add</i18n-key> >>> >>> <i18n-bundle>org.wso2.carbon.andes.ui.i18n.Resources</i18n-bundle> >>> <parent-menu>queue_menu</parent-menu> >>> <link>../queues/queue_add.jsp</link> >>> <region>region1</region> >>> <order>45</order> >>> <style-class>home</style-class> >>> <icon>../queues/images/add.gif</icon> >>> >>> <require-permission>/permission/admin/manage/queue/addQueue</require-permission> >>> </menu> >>> >>> Hope I am clear on the description. >>> >>> Hemika Kodikara >>> Software Engineer >>> WSO2 Inc. >>> lean . enterprise . middleware >>> http://wso2.com >>> >>> Mobile : +94777688882 >>> >>> On Wed, Mar 4, 2015 at 11:48 AM, Hemika Kodikara <[email protected]> >>> wrote: >>> >>>> Hi All, >>>> >>>> I have set the following permissions on the components.xml file. >>>> >>>> <menu> >>>> <id>queue_menu</id> >>>> <i18n-key>queues</i18n-key> >>>> >>>> <i18n-bundle>org.wso2.carbon.andes.ui.i18n.Resources</i18n-bundle> >>>> <parent-menu>manage_menu</parent-menu> >>>> <link>#</link> >>>> <region>region1</region> >>>> <order>25</order> >>>> <style-class>home</style-class> >>>> <icon>../queues/images/queues.gif</icon> >>>> >>>> <require-permission>/permission/admin/login</require-permission> >>>> </menu> >>>> <menu> >>>> <id>queue_browse</id> >>>> <i18n-key>browse</i18n-key> >>>> >>>> <i18n-bundle>org.wso2.carbon.andes.ui.i18n.Resources</i18n-bundle> >>>> <parent-menu>queue_menu</parent-menu> >>>> <link>../queues/queue_details.jsp</link> >>>> <region>region1</region> >>>> <order>10</order> >>>> <style-class>manage</style-class> >>>> <icon>../queues/images/list.gif</icon> >>>> >>>> <require-permission>/permission/admin/manage/queue/browseQueue</require-permission> >>>> </menu> >>>> <menu> >>>> <id>queues_add</id> >>>> <i18n-key>add</i18n-key> >>>> >>>> <i18n-bundle>org.wso2.carbon.andes.ui.i18n.Resources</i18n-bundle> >>>> <parent-menu>queue_menu</parent-menu> >>>> <link>../queues/queue_add.jsp</link> >>>> <region>region1</region> >>>> <order>45</order> >>>> <style-class>home</style-class> >>>> <icon>../queues/images/add.gif</icon> >>>> >>>> <require-permission>/permission/admin/manage/queue/addQueue</require-permission> >>>> </menu> >>>> >>>> And I have created a role with the following permissions and added a >>>> user. >>>> >>>> >>>> >>>> >>>> But when logged in from that specific user of that role, the user >>>> cannot see "queue_browse" and "queues_add" menus in the manage menu of >>>> management console. >>>> >>>> >>>> >>>> >>>> Any idea why this is not being displayed ? >>>> >>>> Regards, >>>> Hemika >>>> >>>> Hemika Kodikara >>>> Software Engineer >>>> WSO2 Inc. >>>> lean . enterprise . middleware >>>> http://wso2.com >>>> >>>> Mobile : +94777688882 >>>> >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Manorama Perera >> Software Engineer >> WSO2, Inc.; http://wso2.com/ >> Mobile : +94716436216 >> > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com <http://wso2.com>* *Phone: +94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj <http://www.linkedin.com/in/bhathiyaj>* *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>* *Blog: http://movingaheadblog.blogspot.com <http://movingaheadblog.blogspot.com/>*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
