1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 13:19:43 +02:00

Export to PDF related improvements

This commit is contained in:
Harvey Kandola 2018-06-11 14:40:21 +01:00
parent 2e9734e73e
commit ad2e653f3c
5 changed files with 701 additions and 690 deletions

View file

@ -25,11 +25,7 @@ import (
type RequestContext struct {
AllowAnonymousAccess bool
Authenticated bool
Administrator bool
Guest bool
Editor bool
Global bool
Analytics bool
UserID string
OrgID string
OrgName string
@ -41,6 +37,13 @@ type RequestContext struct {
Fullname string
Transaction *sqlx.Tx
AppVersion string
Administrator bool
Analytics bool
Active bool
Editor bool
Global bool
ViewUsers bool
}
//GetAppURL returns full HTTP url for the app