Indonesia plans to tighten vetting of senior public servants amid fears that hard-line Islamist ideology has permeated high levels of government, according to documents reviewed by Reuters and a senior official involved in the plan.

Indonesia is officially secular, but there has been a rise in politicians demanding a larger role for Islam in the world's biggest Muslim-majority country, with some groups calling for an Islamic state.

The rise in conservatism was a major test for President Joko Widodo in the April election, with some Islamist groups accusing him of being anti-Islam and throwing their support behind political rivals, including challenger Prabowo Subianto.