This topic is locked

no. of login fields

1/17/2011 04:49:21
PHPRunner General questions
A
aclhkaclhk author

is login fields limited to username and password? could we insert additional field(s) eg. company?

romaldus 1/17/2011



is login fields limited to username and password? could we insert additional field(s) eg. company?


i think it's not necessary to add additional field into login page. if you want to group users based on their own company, then you can use dynamic permission which is easy to configure via phprunner IDE.

A
aclhkaclhk author 1/17/2011

thanks for your advice.
i want to allow same username among different companies. eg. peter will exist in abc company and zyx co.



i think it's not necessary to add additional field into login page. if you want to group users based on their own company, then you can use dynamic permission which is easy to configure via phprunner IDE.

romaldus 1/17/2011

yes, it is very easy to do in PHPRUNNER, no custom code or additional field needed.
For example : you want username : PETER included in Company ABC and XYZ
All you have to do is: Use dynamic permission for your PHPRUNNER project.

On your generated app, login as admin, and go to the admin area :

  1. Add a new group called ABCand another group called XYZ
  2. Add a new user called PETER
  3. Assign users to group. Since you use dynamic permission, you can assign user PETERto anygroup you want. You can assign a user to one group or two groups,......or all groups
    Please read the PHPRUNNER manual for detailed explanation.