emulating permission access for apps
You should try out XPrivacy or Protect My Privacy. Both of them require the Xposed framework

Jellybean comes with an in-built hidden permission controller called App Ops which is accessible by using AppOps (open source)