Ignore:
Timestamp:
12/22/15 17:36:36 (9 years ago)
Author:
nanardon
Message:

Allow fine control on ro attributes

This patch allow to control why the status attributes become read-only when
using employment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/man/man8/latmos-accounts-base-sql.pod

    r1522 r1524  
    5757attributes (C<accountExpires> for Active Directory). 
    5858 
    59 =head2 User endEmployment 
     59=head2 User Employment 
     60 
     61The employment object allow you to set time when you're user have a status. This 
     62allow through 'Employment' module for la-sync-manager to automate changes. 
     63 
     64The synchronized attributes are: 
     65 
     66=over 4 
     67 
     68=item C<company> 
     69 
     70=item C<department> 
     71 
     72=item C<contratType> 
     73 
     74=item C<managerContact> 
     75 
     76=item C<expire> 
     77 
     78=item C<endcircuit> 
     79 
     80=back 
     81 
     82To avoid error when modifying user direclty when you're using employment those 
     83attribute become on user's side become read-only once an employment exists. 
     84 
     85You can change this beaviour using C<employment_lock_user> parameter: 
     86 
     87=over 4 
     88 
     89=item any (default) 
     90 
     91Any existing employment lock those attribute, you must 
     92create another employment to change user status or delete all employements for 
     93this user. 
     94 
     95=item always 
     96 
     97The user's attribute are always locked 
     98 
     99=item never 
     100 
     101The user's attribute are always locked 
     102 
     103=item active 
     104 
     105Thoses attributes are locked is any employment are still active (ie unfinished 
     106or coming later). 
     107 
     108=item attribute=value 
     109 
     110Thoses attributes are read-only if the C<attribute> given contains C<value>, 
     111C<*> allow to match any value. 
     112 
     113=head3 User endEmployment 
    60114 
    61115This attribute compute the next day the user will leave the company according 
     
    65119exists between two employment. 
    66120 
    67 =head2 User endStrictEmployment 
     121=head3 User endStrictEmployment 
    68122 
    69123This attribute compute the next day the user will leave the company according 
     
    75129database parameter is returned. 
    76130 
    77 =head2 User endLastEmployment 
     131=head3 User endLastEmployment 
    78132 
    79133This attribute return the very last end of all registered employment fr this 
    80134user. 
    81135 
    82 =head2 User endCurrentEmployment 
     136=head3 User endCurrentEmployment 
    83137 
    84138The end of the employment matching current date. 
Note: See TracChangeset for help on using the changeset viewer.