Skip to content

Instantly share code, notes, and snippets.

@goatandsheep
Last active December 16, 2019 03:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goatandsheep/485d443c024f92588f4e80cbe060a56b to your computer and use it in GitHub Desktop.
Save goatandsheep/485d443c024f92588f4e80cbe060a56b to your computer and use it in GitHub Desktop.
## Do not do this
#if(${context.identity.username} != ${context.result.parentId})
$utils.unauthorized()
#else
null
#end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment