We are looking to develop a PHP report page and incorporate into osTickets 1.9+.Assume the PHP report can only be executed AFTER user login, wondering how we can get the database connection parameters (database name, database user, password) and user access control enforced on the PHP report. I mean we don't want to hard-code the database connection parameters within the PHP report.And even if we do, we cannot enforce the user access control (e.g. department, team etc).Any advice or pointers please? Thanks.