If you install Justin Tadlock’s members plugin: http://ww.wp.xz.cn/plugins/members/ you can set up a new role to include the import and export capabilities and assign that role to the users you want to be able to do this.
I already have too many plugins installed, Don’t think can afford another one.
Any alternative with code?
I understand, I am getting to know wordpress better.
Thing is, All i want to do is make tools available to one other non admin user.
Which is be possible with few lines of code than to install a plugin.
I really have no other need, Hence i find it better to use code here.
Anyone help with code is appreciated.
Creating a new role and specifying the required capabilities is documented at http://codex.ww.wp.xz.cn/Function_Reference/add_role
I used “add_cap” and was able to solve.