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.14-698a | BUILD: 190207-2301 | Asterisk:13.24.1-vici | Vicibox 8.1.2
Acidshock
 
Posts: 428
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
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20018
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: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 94 guests