Authentication

All installation and configuration problems and questions

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

Authentication

Postby Acidshock » Tue Dec 26, 2017 8:07 pm

What is the recommended method for custom reports, etc. to authenticate VICIDIAL users? Are we able to use some of the includes? If so is there any documentation? I have used my own stuff in the past but I am trying to be more "inline."
VERSION: 2.14b0.5 | Asterisk:11.25.1 & 1.8.32-vici | Vicibox 8.01
Acidshock
 
Posts: 373
Joined: Wed Mar 03, 2010 3:19 pm

Re: Authentication

Postby williamconley » Tue Dec 26, 2017 8:16 pm

This really should be in Support rather than development. I'll move it.

The beginning of every php page is security (well, after loading of variables). Yes, you can copy that same code to utilize the Vicidial authentication system in your custom reports OR you can begin with a Vicidial report and just rename the page.
Vicidial Installation and Repair, plus Hosting and Colocation
SugarCRM integration - Customization and Add-ons - We Bring It All Together.
http://www.PoundTeam.com # 352-269-0000 # +44 (203) 769-2294 # +506 4001-8914
williamconley
 
Posts: 17171
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Authentication

Postby mflorell » Tue Dec 26, 2017 8:28 pm

The "user_authorization" function performs the user authorization, but William is right that you should copy all of the code at the beginning of one of the existing report scripts to make sure you have all of the variable filtering in the beginning and the error messages after the "user_authorization" function call, to make sure everything is going to work as it should.
mflorell
Site Admin
 
Posts: 16890
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 15 guests