I have created a user & assingned it role 'superuser'.I want to give only two permissions to superuser, block the selected user account & unblock the selected user account.I have given 'block selected user' permission from admin->people->permission but the option for 'unblock the selected user account' permission is not listed in admin->people->permission.How can i give this permission to superuser?
You can create a view and give access to superuser role.
Below links will help you.
I have followed the same links and created the module at some extent it is working fine that is there is an option "Unblock the user" is appearing in views bulk operation and permissions. But the problem, is it is not Unblocking the user in actual.