Skip to content

Commit c84c136

Browse files
committed
Start on #54
Need to: determine role, required to access given ns (with globals db RW resource) and add it too MatchRoles
1 parent 2b002a7 commit c84c136

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

export/WebTerminal/Installer.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<Export generator="Cache" version="25" zv="Cache for Windows (x86-64) 2016.2 (Build 559U)" ts="2016-02-06 20:50:57">
2+
<Export generator="Cache" version="25" zv="Cache for Windows (x86-64) 2015.1.1 (Build 505U)" ts="2016-02-13 14:41:00">
33
<Class name="WebTerminal.Installer">
44
<Description>
55
Importing this class will install Cache WEB Terminal properly.</Description>
66
<Super>%Projection.AbstractProjection</Super>
7-
<TimeChanged>63954,74786.153524</TimeChanged>
7+
<TimeChanged>63961,52835.903719</TimeChanged>
88
<TimeCreated>63890,71053.144208</TimeCreated>
99
<DependsOn>Common,Engine,Router,StaticContent,Autocomplete,Trace</DependsOn>
1010

@@ -83,6 +83,7 @@ This method is invoked when a class is compiled.</Description>
8383
set cspProperties("AutheEnabled") = 64
8484
set cspProperties("Description") = "An application representing the open socket for /terminal application. Required since 2016.* Cache versions changed WebSocket behavior. PLEASE LEAVE THIS APPLICATION UNAUTHENTICATED, but do not worry: the socket won't accept anyone without the key."
8585
set cspProperties("DispatchClass") = ""
86+
set cspProperties("MatchRoles")=":%DB_CACHESYS" //:%DB_USER"
8687
do ..RegisterWebApplication("/terminalsocket", .cspProperties)
8788
set status = ##Class(Config.Namespaces).Get("%All")
8889
if ($$$ISERR(status)) { // no namespace %All

0 commit comments

Comments
 (0)