_set_api_permissions for specified user helper function
_set_api_permissions for specified user helper function

smn/onadata,eHealthAfrica/formhub,smn/onadata,SEL-Columbia/formhub,eHealthAfrica/formhub,ultimateprogramer/formhub,SEL-Columbia/formhub,wesley1001/formhub,ehealthafrica-ci/formhub,GeoODK/onadata,GeoODK/onadata,ultimateprogramer/formhub,piqoni/onadata,smn/onadata,ehealthafrica-ci/formhub,smn/onadata,awemulya/fieldsight-kobocat,hnjamba/onaclone,ehealthafrica-ci/onadata,spatialdev/onadata,hnjamba/onaclone,eHealthAfrica/formhub,ehealthafrica-ci/formhub,kobotoolbox/kobocat,awemulya/fieldsight-kobocat,jomolinare/kobocat,piqoni/onadata,ehealthafrica-ci/onadata,GeoODK/formhub,kobotoolbox/kobocat,makinacorpus/formhub,SEL-Columbia/formhub,jomolinare/kobocat,ehealthafrica-ci/onadata,GeoODK/onadata,makinacorpus/formhub,kobotoolbox/kobocat,spatialdev/onadata,eHealthAfrica/onadata,eHealthAfrica/formhub,sounay/flaminggo-test,eHealthAfrica/onadata,qlands/onadata,wesley1001/formhub,spatialdev/onadata,qlands/onadata,GeoODK/onadata,piqoni/onadata,awemulya/fieldsight-kobocat,sounay/flaminggo-test,qlands/onadata,hnjamba/onaclone,piqoni/onadata,spatialdev/onadata,GeoODK/formhub,awemulya/fieldsight-kobocat,jomolinare/kobocat,SEL-Columbia/formhub,mainakibui/kobocat,ultimateprogramer/formhub,jomolinare/kobocat,makinacorpus/formhub,eHealthAfrica/onadata,sounay/flaminggo-test,ehealthafrica-ci/onadata,ultimateprogramer/formhub,mainakibui/kobocat,mainakibui/kobocat,sounay/flaminggo-test,mainakibui/kobocat,GeoODK/formhub,makinacorpus/formhub,qlands/onadata,ehealthafrica-ci/formhub,hnjamba/onaclone,wesley1001/formhub,wesley1001/formhub,kobotoolbox/kobocat