waseem0888
Member
- Local time
- Today, 00:27
- Joined
- Jul 25, 2020
- Messages
- 51
Hi All,
I have a login form with a username and password and then after that, there is one combo box to select the project which will give the user access to that project only and restrict the users not login to other projects and to all my forms project combo box is disabled I am using this technique to restrict users so they cannot select any other project value from the combo box and there is one specific user value name (HQ) when user login with that combo box is enabled and for to access all project list in combo box.
But now I have one more requirement There are some users who will need access to 2 or more specific projects so I want to enable combobox for them and I want to filter out the list of projects related to those users only. for other users who need access to one project from the combo box should show one value in the list and if the user is (HQ) then he should have a list of all projects in the combo box.
For Example:
I have combox box with values 416, 417, 418, 419,420
So user 1 will have to access 416 only in the list
User 2 will have access to, 416,418,419,
And the one more user with value (HQ) in the combo box will have all list of values in the list.
Please suggest how can i achieve this task to have multiple projects under one user.
or if there is any way the user log in without project selection and he will have access to a specific list of projects.
Thanks
I have a login form with a username and password and then after that, there is one combo box to select the project which will give the user access to that project only and restrict the users not login to other projects and to all my forms project combo box is disabled I am using this technique to restrict users so they cannot select any other project value from the combo box and there is one specific user value name (HQ) when user login with that combo box is enabled and for to access all project list in combo box.
But now I have one more requirement There are some users who will need access to 2 or more specific projects so I want to enable combobox for them and I want to filter out the list of projects related to those users only. for other users who need access to one project from the combo box should show one value in the list and if the user is (HQ) then he should have a list of all projects in the combo box.
For Example:
I have combox box with values 416, 417, 418, 419,420
So user 1 will have to access 416 only in the list
User 2 will have access to, 416,418,419,
And the one more user with value (HQ) in the combo box will have all list of values in the list.
Please suggest how can i achieve this task to have multiple projects under one user.
or if there is any way the user log in without project selection and he will have access to a specific list of projects.
Thanks