diff --git a/lam/docs/devel/index.htm b/lam/docs/devel/index.htm index 0a37f339..f2a01cc1 100644 --- a/lam/docs/devel/index.htm +++ b/lam/docs/devel/index.htm @@ -47,7 +47,7 @@ lists
  • PDF (pdf.inc)
  • -
  • Account profiles (profiles.inc)
    +
  • Account profiles (profiles.inc)
  • Configuration (config inc)
  • @@ -75,7 +75,7 @@ lists
  • Account modules
  • PDF templates
  • -
  • Account profiles
  • +
  • Account profiles
  • Configuration profiles
  • diff --git a/lam/docs/devel/profile_files.htm b/lam/docs/devel/profile_files.htm new file mode 100644 index 00000000..22804b83 --- /dev/null +++ b/lam/docs/devel/profile_files.htm @@ -0,0 +1,36 @@ + + + + + Account profiles + + + +

    Account profiles

    +
    +Every account profile is saved as single file in config/profiles. The +file extension is the account type (user, group, ...).
    +In contrast to the configuration profiles the account profiles are not +designed to be editable by hand. They do not allow to add comments and +have a simpler format.
    +
    +

    Format

    +There is one option per line which is formated: <identifier>: +<value>
    +
    +Identifier is the option's name, value is the rest of the line after +the first ": ".
    +Some options are multi-valued, the sub-values are separated by "+::+".
    +
    +
    +Examples:
    +
    +posixAccount_primaryGroup: group1
    +posixAccount_additionalGroup: group3+::+group4+::+group5+::+group6
    +
    + + diff --git a/lam/docs/devel/profiles.htm b/lam/docs/devel/profiles.htm new file mode 100644 index 00000000..03d2e04b --- /dev/null +++ b/lam/docs/devel/profiles.htm @@ -0,0 +1,25 @@ + + + + + Account profiles + + + +

    profiles.inc

    +
    +This file includes all functions to manage account +profiles. You can read/store/list/delete profiles.
    +
    +Profile names may contain letters, numbers, "_" and "-". All functions +which have a profile name as parameter check this.
    +Functions which modify the filesystem (saveAccountProfile, +delAccountProfile) also check if the user is logged in to LAM +for security reasons. This is done by reading $_SESSION['logedIn'].
    +
    +
    +
    + +