Webdev/WorkerMgmt: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 4: Line 4:
== LDAP interaction in Worker Management App  ==
== LDAP interaction in Worker Management App  ==


LDAP is used ReadOnly in Worker management App  
''LDAP is used ReadOnly in Worker management App''


=== <br> LDAP-&gt;fetch_attribute  ===
I believe these two calls could be combined into one, to return the manager list with email and bugzilla login all in one.
 
=== LDAP-&gt;fetch_attribute  ===


in newhire and contractor form  
in newhire and contractor form  
Line 14: Line 16:
Same in both, added to $form_input and sent to $bz_helper-&gt;newhire_filing($form_input);  
Same in both, added to $form_input and sent to $bz_helper-&gt;newhire_filing($form_input);  


=== <br> LDAP-&gt;manager_list  ===
=== LDAP-&gt;manager_list  ===


in newhire and contractor form  
in newhire and contractor form  

Revision as of 16:52, 22 March 2010

Collection Thoughts for Worker Management Intranet App

https://intranet.mozilla.org/workermgmt/

LDAP interaction in Worker Management App

LDAP is used ReadOnly in Worker management App

I believe these two calls could be combined into one, to return the manager list with email and bugzilla login all in one.

LDAP->fetch_attribute

in newhire and contractor form

$manager_name = $ldap->fetchAttribute($fm->input('manager'), 'cn'); //where $fm->input('manager') is the ldap users email

Same in both, added to $form_input and sent to $bz_helper->newhire_filing($form_input);

LDAP->manager_list

in newhire and contractor form

$manager_list = $ldap->manager_list();

Same in both, used to populate manager select list

Bugzilla Interaction in Worker Management App

to be documented further

Files Bugs based on the Hiring form submitted