From a802ce772a52e651a030c2372ebc56d227f6081b Mon Sep 17 00:00:00 2001 From: kakwa Date: Tue, 7 Mar 2017 23:21:27 +0100 Subject: [PATCH] adding documention of textfielf and better documenation for other types --- docs/deploy.rst | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/deploy.rst b/docs/deploy.rst index 44fd3e5..1c8a4c0 100644 --- a/docs/deploy.rst +++ b/docs/deploy.rst @@ -62,7 +62,7 @@ The mandatory parameters for an attribute, and their format are the following: description: # (free text) display_name: # (free text) weight: # (integer) - type: # (in ['int', 'string', 'email', 'stringlist', 'fix']) + type: # (in ['int', 'string', 'email', 'stringlist', 'fix', 'textfield']) backends: # (list of backend attributes name) - : - : @@ -76,6 +76,18 @@ The mandatory parameters for an attribute, and their format are the following: (the backend id) must be defined in main ini configuration file. LdapCherry won't start if it's not. +Type listing +^^^^^^^^^^^^ + +The following **type** are supported: + +* **int**: an integer (ex: uid) +* **string**: a string (ex: first name) +* **stringlist**: a string to choose from a given list of strings (ex: one of /bin/sh, /bin/bash /bin/zsh for a shell) +* **textfield**: free multiline text (ex: an SSH key) +* **email**: an email address +* **fix**: a fix value, only present shown information purposes + Type stringlist values ^^^^^^^^^^^^^^^^^^^^^^