Knowledge

Articles et guides

Place de marchéContenu et documentsVersion 0.1.0manifest

À quoi elle sert ​

A wiki of articles arranged in a tree, with draft, published and archived states and tags. Visibility is a label: there are no row-level permissions yet, so everyone with access to the app reads every article.

Ce que fait et ne fait pas le paquet ​

A wiki: articles arranged in a tree through a parent article, with a draft, published, archived flow, a visibility setting and tags. Visibility is a label for the UI and for people to respect; the platform has no row-level permissions yet, so everyone with the Knowledge groups can read every article.

Modèles ​

knowledge_article ​

An article of the knowledge base

Groupe de lecture: knowledge.user. Groupe d'écriture: knowledge.user.

ChampTypeClasse de donnéesDonnées personnellesGroupeVu par les agentsDescription
titletextnonenonknowledge.useren clairArticle title
parent_idref → knowledge_articlenonenonknowledge.useren clairThe article this one is nested under; empty for a top-level article
bodylongtextnonenonknowledge.useren clairArticle content (Markdown)
visibilityselect (private, workspace, public)nonenonknowledge.useren clairWho the article is meant for: private, workspace, public
tagstextnonenonknowledge.useren clairComma-separated tags, for example onboarding,hr
author_nametextpublic_directoryouiknowledge.usermasquéName of the author
sequencenumbernonenonknowledge.useren clairOrder among its siblings, lowest first
published_ondatenonenonknowledge.useren clairDay the article was published (YYYY-MM-DD)
stateselect (draft, published, archived)nonenonknowledge.useren clairArticle status: draft, published, archived

Flux de travail ​

knowledge_article ​

ActionTransitionQui peut l'exécuterApprobation
knowledge_article.publishstate: draft → publishedknowledge.managernon
knowledge_article.unpublishstate: published → draftknowledge.managernon
knowledge_article.archivestate: published → archivedknowledge.managernon

Groupes de permissions ​

Groupes utilisés par cette application :

  • knowledge.manager
  • knowledge.user

Étapes d'approbation ​

Aucune étape de cette application ne requiert d'approbation, hormis la suppression d'enregistrements.

Ce que les agents peuvent et ne peuvent pas faire ​

Un agent peut lire, rechercher, créer et modifier les enregistrements de cette application, et exécuter les actions qui ne requièrent pas d'approbation, dans les limites des groupes de permissions de son jeton.

Il ne peut que proposer ces étapes, qu'une personne doit approuver : knowledge_article.delete.

Les données personnelles sont masquées sous forme de jetons de substitution : knowledge_article.author_name.

Dépendances ​

Aucune.

Installation ​

Installez-la depuis l'application Customize (Place de marché), ou en ligne de commande :

bash
obop modules install-from knowledge

Nécessite une base de données et des droits d'administrateur.

Créer la vôtre ​

Le guide des modules montre comment sont écrites les applications de ce type