Start of new concept that will support nested permissionFolders etc.