Skip to content

Commit de00bc2

Browse files
committed
Fix #204 as well
This would likely fail even earlier in Package Manager steps, but it does no harm to add a note.
1 parent 7d85a79 commit de00bc2

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@ This might look like:
5050
![Example of mapping configuration](docs/images/settings.PNG "Example of mapping configuration")
5151
5252
### Security
53-
If you want to interact with remotes from VSCode/Studio directly (e.g., to push/pull), you must use ssh (rather than https), create a public/private key pair to identify the instance (not yourself), configure the private key file for use in Settings, and configure the public key as a deploy key in the remote(s).
5453
55-
### Git Security Features
54+
#### Dubious Ownership
5655
Newer git versions may produce output like:
5756
```
5857
fatal: detected dubious ownership in repository at 'C:/Your/Repo/Root'
@@ -65,6 +64,12 @@ again for more information.
6564
```
6665
It is important for the namespace temp folder to be owned by the user IRIS runs as. (On Unix, commonly irisusr; on Windows, generally a designated service account or SYSTEM.) Setting this config flag is unlikely to actually help; just make sure the ownership is correct.
6766
67+
#### Interacting with Remotes
68+
If you want to interact with remotes from VSCode/Studio directly (e.g., to push/pull), you must use ssh (rather than https), create a public/private key pair to identify the instance (not yourself), configure the private key file for use in Settings, and configure the public key as a deploy key in the remote(s).
69+
70+
#### IRIS Privileges
71+
For developers to be able to run this extension, they'll need the USE privilege on %System_Callout.
72+
6873
### Setting up multiple GitHub deploy keys on one machine
6974
7075
Assuming you have the local and remote repositories created,

cls/SourceControl/Git/Utils.cls

+4
Original file line numberDiff line numberDiff line change
@@ -1779,6 +1779,10 @@ ClassMethod CheckInitialization()
17791779
write !,"and answering the prompts."
17801780
}
17811781
}
1782+
If '$System.Security.Check("%System_Callout","USE") {
1783+
write !,"WARNING: You do not have USE privilege on %System_Callout, which is needed to invoke git.",
1784+
"Unless this privilege is granted to users of the extension, it won't work."
1785+
}
17821786
}
17831787

17841788
ClassMethod GetSourceControlInclude() As %String

0 commit comments

Comments
 (0)