Knowledge

Articles and guides

MarketplaceContent and documentsVersion 0.1.0manifest

What it is for ​

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.

What the package does and does not do ​

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.

Models ​

knowledge_article ​

An article of the knowledge base

Read group: knowledge.user. Write group: knowledge.user.

FieldKindData classPersonal dataGroupAgents seeDescription
titletextnonenoknowledge.userin clearArticle title
parent_idref → knowledge_articlenonenoknowledge.userin clearThe article this one is nested under; empty for a top-level article
bodylongtextnonenoknowledge.userin clearArticle content (Markdown)
visibilityselect (private, workspace, public)nonenoknowledge.userin clearWho the article is meant for: private, workspace, public
tagstextnonenoknowledge.userin clearComma-separated tags, for example onboarding,hr
author_nametextpublic_directoryyesknowledge.usermaskedName of the author
sequencenumbernonenoknowledge.userin clearOrder among its siblings, lowest first
published_ondatenonenoknowledge.userin clearDay the article was published (YYYY-MM-DD)
stateselect (draft, published, archived)nonenoknowledge.userin clearArticle status: draft, published, archived

Workflows ​

knowledge_article ​

ActionMovesWho may run itApproval
knowledge_article.publishstate: draft → publishedknowledge.managerno
knowledge_article.unpublishstate: published → draftknowledge.managerno
knowledge_article.archivestate: published → archivedknowledge.managerno

Permission groups ​

Groups used by this app:

  • knowledge.manager
  • knowledge.user

Approval steps ​

No step in this app needs an approval, apart from deleting records.

What agents can and cannot do ​

An agent can read, search, create and update records of this app, and run the actions that need no approval, within the permission groups of its token.

It can only propose these steps, and a person must approve them: knowledge_article.delete.

Personal data is masked as placeholder tokens: knowledge_article.author_name.

Dependencies ​

None.

Install ​

Install it from the Customize app (Marketplace), or from the command line:

bash
obop modules install-from knowledge

Needs a database and administrator rights.

Build your own ​

The module guide shows how apps like this one are written