You would need to edit the php to hide eavesdrop. The best option would be to edit the application by adding a permission for eavesdrop and wrapping that permission around each of the eavesdrop functionalities in the php. There are multiple lines of code to consider when removing the eavesdrop option or when wrapping them within a new permission.