How to restrict user to see only one campaign

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

How to restrict user to see only one campaign

Postby webgurru » Mon Aug 03, 2009 6:23 am

Hi,

I have three campaigns. When any user login it can see all campaigns. I want to restrict users to see only assigned campaigns. Is it possible to do this?

Best regards,
webgurru
 
Posts: 147
Joined: Thu May 07, 2009 11:10 am
Location: United Kingdom

Postby mflorell » Tue Aug 04, 2009 6:35 am

Is this an agent or an admin user?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby webgurru » Tue Aug 04, 2009 8:37 am

Hi Matt,

It's a standard user.

Best regards,
mflorell wrote:Is this an agent or an admin user?
webgurru
 
Posts: 147
Joined: Thu May 07, 2009 11:10 am
Location: United Kingdom

Postby mflorell » Tue Aug 04, 2009 10:34 am

For agents you can restrict their camapaign lists by selecting only the campaigns desired in their User Group modificaiton screen in admin.php.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby webgurru » Tue Aug 04, 2009 11:22 am

Hi Matt,

Done. Thanks.

Best regards,


mflorell wrote:For agents you can restrict their camapaign lists by selecting only the campaigns desired in their User Group modificaiton screen in admin.php.
webgurru
 
Posts: 147
Joined: Thu May 07, 2009 11:10 am
Location: United Kingdom

thanks

Postby brett05 » Tue Aug 04, 2009 11:24 am

nice topic me too i have seach before a solution for this but not found.
as i have understand we can restrict use to see only his compaing this ?
but mflorell here you say we need edit admin.php can you explain this edit more please thanks ?
other thing to add as idea
it is possible also to hidden the select of compaign in agent interface when agent log in;so he need just to enter his password and login for phone session and his session and no need to select compaign the compaign will be affect automatique in each agent it is possible this also ?
brett05
 
Posts: 571
Joined: Sun May 24, 2009 5:48 pm
Location: tunisia

Re: thanks

Postby webgurru » Tue Aug 04, 2009 11:45 am

Hi Brett05,

Once you are logged into admin area, choose USER GROUPS then your group and then uncheck ALL-CAMPAIGNS - USERS CAN VIEW ANY CAMPAIGN and put a check next to the campaign(s) you want for that group of users to see.

Best regards,


brett05 wrote:nice topic me too i have seach before a solution for this but not found.
as i have understand we can restrict use to see only his compaing this ?
but mflorell here you say we need edit admin.php can you explain this edit more please thanks ?
other thing to add as idea
it is possible also to hidden the select of compaign in agent interface when agent log in;so he need just to enter his password and login for phone session and his session and no need to select compaign the compaign will be affect automatique in each agent it is possible this also ?
webgurru
 
Posts: 147
Joined: Thu May 07, 2009 11:10 am
Location: United Kingdom

thanks

Postby brett05 » Tue Aug 04, 2009 11:57 am

thanks
brett05
 
Posts: 571
Joined: Sun May 24, 2009 5:48 pm
Location: tunisia

Postby williamconley » Tue Aug 04, 2009 7:36 pm

to change the agent to "auto-choose" and "hide" the campaign selection is actually a pretty simple change to the agent's login page.

If you have a php person handy:

put a wrapper around that field to "detect" how many are available and auto-select "the one" if only one is available and then hide the field. If more than one is available, don't auto-select and don't hide.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

exemple

Postby brett05 » Tue Aug 04, 2009 11:00 pm

echo "<FORM NAME=vicidial_form ID=vicidial_form ACTION=\"$agcPAGE\" METHOD=POST style=\"margin-bottom:0px\">\n";
echo "<INPUT TYPE=HIDDEN NAME=DB VALUE=\"$DB\">\n";
echo "<TABLE WIDTH=400 CELLPADDING=0 CELLSPACING=0 ALIGN=CENTER BORDER=0>";
echo "<TR><TD ALIGN=LEFT COLSPAN=2><font size=1> &nbsp; </TD></TR>\n";
echo "<TR><TD ALIGN=RIGHT>Session telephonique: </TD>";
echo "<TD ALIGN=LEFT><INPUT TYPE=TEXT NAME=phone_login SIZE=10 MAXLENGTH=20 VALUE=\"$phone_login\"></TD></TR>\n";
echo "<TR><TD ALIGN=RIGHT>Mot de passe du Telephone: </TD>";
echo "<TD ALIGN=LEFT><INPUT TYPE=PASSWORD NAME=phone_pass SIZE=10 MAXLENGTH=20 VALUE=\"$phone_pass\"></TD></TR>\n";
echo "<TR><TD ALIGN=RIGHT>Ouverture de Session: </TD>";
echo "<TD ALIGN=LEFT><INPUT TYPE=TEXT NAME=VD_login SIZE=10 MAXLENGTH=20 VALUE=\"$VD_login\"></TD></TR>\n";
echo "<TR><TD ALIGN=RIGHT>Mot de passe Utilisateur: </TD>";
echo "<TD ALIGN=LEFT><INPUT TYPE=PASSWORD NAME=VD_pass SIZE=10 MAXLENGTH=20 VALUE=\"$VD_pass\"></TD></TR>\n";
echo "<TR><TD ALIGN=RIGHT>Campagne: </TD>";
echo "<TD ALIGN=LEFT><span id=\"LogiNCamPaigns\">$camp_form_code</span></TD></TR>\n";
echo "<TR><TD ALIGN=CENTER COLSPAN=2><INPUT TYPE=SUBMIT NAME=VALIDER VALUE=VALIDER> &nbsp; \n";
echo "<span id=\"LogiNReseT\"><INPUT TYPE=BUTTON VALUE=\"Refresh Campagne Liste\" OnClick=\"login_allowable_campaigns()\"></span></TD></TR>\n";
#echo "<TR><TD ALIGN=LEFT COLSPAN=2><font size=1><BR>VERSION: $version &nbsp; &nbsp; &nbsp; BUILD: $build</font></TD></TR>\n";
echo "</TABLE>\n";
echo "</FORM>\n\n";

what can i add here for exemple to make this auto detect compaign with hidden compain field
thanks
brett05
 
Posts: 571
Joined: Sun May 24, 2009 5:48 pm
Location: tunisia

Postby racosta79 » Mon Mar 19, 2012 6:53 am

Hello guys!

What will be the configuration for admin users? How do I restrict them to see only reports from some campaings and manage "their own" users?

Regards
racosta79
 
Posts: 28
Joined: Fri Nov 19, 2010 7:27 pm

Postby mflorell » Mon Mar 19, 2012 6:57 am

Upgrade to latest svn/trunk, then you can use User Groups to do this.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby racosta79 » Mon Mar 19, 2012 7:09 am

Thank you!
racosta79
 
Posts: 28
Joined: Fri Nov 19, 2010 7:27 pm

Postby racosta79 » Mon Mar 19, 2012 9:35 am

Now the question is:

I want to have "isolated" administrators that dont see each other users, campaings, lists, scripts, in-groups, user-groups, remote agents and admin menus...

I forgot... reports too..

The idea is to use one hardware for many callcenters 8)
racosta79
 
Posts: 28
Joined: Fri Nov 19, 2010 7:27 pm

Postby mflorell » Mon Mar 19, 2012 6:20 pm

Vicidial is not multi-tenant.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby racosta79 » Tue Mar 20, 2012 6:27 am

Is there at least a possibilty to use one of the hardware? Let's say same DB server for two vicidial instances.

Regards.
racosta79
 
Posts: 28
Joined: Fri Nov 19, 2010 7:27 pm

Postby mflorell » Tue Mar 20, 2012 7:56 am

Yes, you can use the same db server and/or the same web server for multiple vicidial server setups.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby racosta79 » Tue Mar 20, 2012 8:17 am

Could it be the same database and asterisk with different webserver?
racosta79
 
Posts: 28
Joined: Fri Nov 19, 2010 7:27 pm

Postby mflorell » Tue Mar 20, 2012 2:18 pm

no
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 16 guests