%zDocBookUtils.Secure
hidden class %zDocBookUtils.Secure
Loads code as needed for login; makes security changes. We call these two methods, as needed, from Publish.Utils::SetGlobals()Method Inventory
- DisableDocumatic()
- EnableDocumatic()
- GetHSLIBReadOnly()
- LoadAddonCode()
- LockItDown()
- LockedDownReport()
- SetHSLIBReadOnly()
- UnlockIt()
Methods
classmethod DisableDocumatic(verbose As %Boolean = 0)
for temporary use
classmethod EnableDocumatic(verbose As %Boolean = 0)
for temporary use
classmethod GetHSLIBReadOnly(verbose As %Boolean = 1)
Return the read-only status of the HSLIB database, if it exists (0 or 1).
Return "" in the case that the database does not exist or there is an error retrieving the value.
classmethod LoadAddonCode(verbose As %Boolean = 0)
Helper method for use by LockItDown and for use in refreshing the add-on code
classmethod LockItDown(verbose As %Boolean = 1, forceRedoAll As %Boolean = 0, docbooknamespace As %String = "DOCBOOK") as %Integer
Add new method to let us lock down access to DocBook and Documatic
If forceRedoAll=1, we redo the setup code in the AppS classes. This code prompts for
a username and passsword, so let's redo that only if we need to.
classmethod LockedDownReport()
Set the read-only status of the HSLIB database to the value provided (0 or 1) in the value argument.
classmethod UnlockIt(verbose As %Boolean = 0)
Add new method to let us open up access to DocBook and Documatic