Skip to content

Commit b52c7b2

Browse files
committed
Fix for namespace access check
1 parent 667892b commit b52c7b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

MDX2JSON/AbstractREST.cls.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Add param Namespace to a request to execute MDX in desired namespace.]]></Descri
5959
6060
#; Check that the effective user ( could be unknown user ) can access this resource
6161
Set tAccess=$SYSTEM.Security.Check($Piece($zu(90,21,$namespace),"^",4))
62-
Set tAccess2=$SYSTEM.Security.Check($Piece($zu(90,21,Namespace),"^",4))
62+
Set tAccess2=$SYSTEM.Security.Check($Piece($zu(90,21,$ZCVT($Namespace,"U")),"^",4))
6363
If ((tAccess'["READ,WRITE") || (tAccess2'["READ,WRITE"))
6464
{
6565
#; Don't want the session token

0 commit comments

Comments
 (0)