Tags Order A-Z Category Context

<sn:prompt-permission>

Renders a link that when clicked will open a dialog box prompting the user for the given permission. This tag will not appear if the user already has the permission.

Attributes

  • string < required > Must be one of .
  • string < optional > The SNJS that will be called if the user grants the permission Can be any string .

Valid Contexts

  • : The area where your app is displayed alone
  • : The Bebo profile page
  • : On a notification page (after the user has clicked on a link in the email)
  • : On the invitations page

Code

Hey, my app wants to to be able to update your status
<sn:prompt-permission perms="status_update">
  Click here to allow it    
</sn:prompt-permission>.
Play with this code in the sandbox
Hey, my app wants to to be able to update your status Click here to allow it .