Edits to tutorial on checking permissions, LRDOCS-1114.