NXP-14395: Avoid possible NPE in permission check when document to adapt as a FileSystemItem has no parent (ex: rendition)
NXP-14395: Don't consider renditions adaptable as a FileSystemItem