Documents

Tiedostot ja kansiot

MarkkinapaikkaSisältö ja asiakirjatVersio 0.1.0manifest

Mihin se on tarkoitettu ​

A register of business documents with folder, kind, owner, expiry and confidentiality. It stores references to documents, not the file contents.

Mitä paketti tekee ja mitä ei ​

A register of business documents: folders, document records with kind, owner, expiry and confidentiality, and a draft, published and archived flow. It stores references, not file contents.

Mallit ​

documents_folder ​

A folder that groups documents

Lukuryhmä: documents.user. Kirjoitusryhmä: documents.manager.

KenttäTyyppiTietoluokkaHenkilötietoRyhmäAgentit näkevätKuvaus
nametextnoneeidocuments.userselkoisenaFolder name
parent_idref → documents_foldernoneeidocuments.userselkoisenaThe folder this one sits in
descriptionlongtextnoneeidocuments.userselkoisenaWhat belongs in the folder

documents_document ​

A contract, policy, certificate or other document on record

Lukuryhmä: documents.user. Kirjoitusryhmä: documents.user.

KenttäTyyppiTietoluokkaHenkilötietoRyhmäAgentit näkevätKuvaus
titletextnoneeidocuments.userselkoisenaDocument title
folder_idref → documents_foldernoneeidocuments.userselkoisenaThe folder the document is filed in
kindselect (contract, invoice, policy, report, certificate, other)noneeidocuments.userselkoisenaType of document: contract, invoice, policy, report, certificate, other
confidentialityselect (public, internal, confidential, restricted)noneeidocuments.userselkoisenaWho should see it, as a label for readers: public, internal, confidential, restricted
ownertextinternalkyllädocuments.usermaskattuName of the person responsible for the document
referencetextnoneeidocuments.userselkoisenaReference number, for example a contract number
locationtextnoneeidocuments.userselkoisenaWhere the file is stored, such as a link or archive box
expires_ondatenoneeidocuments.userselkoisenaDate after which the document is no longer valid (YYYY-MM-DD)
summarylongtextnoneeidocuments.userselkoisenaWhat the document says, in a few lines
stateselect (draft, published, archived)noneeidocuments.userselkoisenaDocument status: draft, published, archived

Työnkulut ​

documents_document ​

ToimintoSiirtääKuka voi suorittaaHyväksyntä
documents_document.publishstate: draft → publisheddocuments.userei
documents_document.archivestate: published → archiveddocuments.managerei

Käyttöoikeusryhmät ​

Tämän sovelluksen käyttämät ryhmät:

  • documents.manager
  • documents.user

Hyväksyntävaiheet ​

Mikään tämän sovelluksen vaihe ei vaadi hyväksyntää tietueiden poistamista lukuun ottamatta.

Mitä agentit voivat ja eivät voi tehdä ​

Agentti voi lukea, hakea, luoda ja päivittää tämän sovelluksen tietueita sekä suorittaa toiminnot, jotka eivät vaadi hyväksyntää, tunnisteensa käyttöoikeusryhmien rajoissa.

Se voi vain ehdottaa näitä vaiheita, ja ihmisen on hyväksyttävä ne: documents_folder.delete, documents_document.delete.

Henkilötiedot maskataan paikkamerkeiksi: documents_document.owner.

Riippuvuudet ​

Ei ole.

Asennus ​

Asenna se Customize-sovelluksesta (Marketplace) tai komentoriviltä:

bash
obop modules install-from documents

Vaatii tietokannan ja ylläpitäjän oikeudet.

Tee oma ​

Moduulioppaassa näytetään, miten tällaiset sovellukset kirjoitetaan