HR-261 permission check for edit