Skip to content

Commit 14c66a3

Browse files
committed
fix: installation uses api for web apps that works with IRISSECURITY
1 parent 368d46e commit 14c66a3

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2020
- Fix "Export All" stopping prematurely because a tracked item no longer exist in the namespace (#821)
2121
- Import All now outputs a warning instead of an error when an item is in the wrong path (#291)
2222
- Fixed an error where classes with compilation errors would revert to broken versions on export (#830)
23-
23+
- Fixed installation of the package on IRIS versions with the IRISSECURITY database (#770)
2424

2525
## [2.12.2] - 2025-07-08
2626

cls/SourceControl/Git/Utils.cls

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2772,8 +2772,10 @@ ClassMethod ConfigureWeb()
27722772
write !,"Adding Git Pull favorite... "
27732773
do ##class(%SQL.Statement).%ExecDirect(statement,sql,caption,link).%Display()
27742774
write !,"Setting GroupById to %ISCMgtPortal for /isc/studio/usertemplates... "
2775-
set sql = "update Security.Applications set GroupById='%ISCMgtPortal' where ID = '/isc/studio/usertemplates'"
2776-
do ##class(%SQL.Statement).%ExecDirect(statement,sql).%Display()
2775+
kill props
2776+
set props("GroupById") = "%ISCMgtPortal"
2777+
set st = ##class(Security.Applications).Modify("/isc/studio/usertemplates",.props)
2778+
if $$$ISERR(st) do $System.Status.DisplayError(st)
27772779
}
27782780

27792781
ClassMethod CheckInitialization()
@@ -3289,4 +3291,3 @@ ClassMethod IsSchemaStandard(pName As %String = "") As %Boolean [ Internal ]
32893291
}
32903292

32913293
}
3292-

0 commit comments

Comments
 (0)