title: How request permissions with Jetpack Compose?
body: <p>How should be implemented requesting permission from Jetpack Compose View? I'm trying implement application accessing Camera with Jetpack Compose. I tried example from <a href="https://stackoverflow.com/questions/58743541/how-to-get-current-state-or-context-in-jetpack-compose">How to get Current state or context in Jetpack Compose</a> Unfortunately example is no longer working with dev06.</p>
  
  <pre><code>        fun hasPermissions(context: Context) = PERMISSIONS_REQUIRED.all {
              ContextCompat.checkSelfPermission(context, it) == PackageManager.PERMISSION_GRANTED
          }
      }
  }
  </code></pre>