Skip to content

Commit d989b08

Browse files
authored
Merge pull request #71 from chrjorgensen/feature/true-readonly
Add description of connection readonly mode
2 parents 846b296 + ee52dbc commit d989b08

File tree

3 files changed

+21
-6
lines changed

3 files changed

+21
-6
lines changed

src/content/docs/settings/connection.mdx

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,31 @@
11
---
2-
title: Connection
2+
title: Connection
33
---
44

55
import { Aside } from '@astrojs/starlight/components';
66

77
Multiple connections can be defined and some settings are specific to a connection and can be saved for the connection and later reloaded.
88

9+
### Read only mode
10+
11+
When checked, you can not change any content on the server, run any actions on the server or open any terminal.
12+
You can only browse the content of the server, and members and streamfiles will always be opened in readonly mode.
13+
14+
<Aside type="note">
15+
This setting can be controlled by the IBM i system administrator in the [system settings](../system/).
16+
</Aside>
17+
18+
<Aside type="danger">
19+
This setting can only protect against changes from Code for IBM i. It will not protect against changes from any other interface or application.
20+
21+
Configuration of IBM i object security on the server is advised!
22+
</Aside>
23+
924
### Current library
1025

1126
The library which will be set as the current library during compilation.
1227

13-
You can change the current library with the 'Change build library' command (F1 -> Change build library).
28+
You can change the current library with the 'Change Current Library' command in the Command Palette (F1).
1429

1530
### Home Directory
1631

@@ -20,15 +35,15 @@ Home directory for user. This directory is also the root for the IFS browser.
2035

2136
Temporary library. Stores temporary objects used by Code for i. Will be created automatically if it does not exist. Cannot be QTEMP. Default value is `ILEDITOR`.
2237

23-
<Aside type="danger">
38+
<Aside type="note">
2439
If your IBM i runs replication software, there is no need to replicate the temporary library. Your sysadmin may add it to the list of objects to be ignored.
2540
</Aside>
2641

2742
### Temporary IFS directory
2843

2944
Temporary IFS directory. Stores temporary IFS files used by Code for i. Will be created automatically if it does not exist. Must be in root or QOpenSys filesystem. Default value is `/tmp`.
3045

31-
<Aside type="danger">
46+
<Aside type="note">
3247
If your IBM i runs replication software, there is no need to replicate the temporary directory. Your sysadmin may add it to the list of path to be ignored.
3348
</Aside
3449
>
-64.4 KB
Loading

src/content/docs/settings/system.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ As of Code for IBM i 2.16.3, the extension supports system-wide settings that ca
88

99
All configuration files related to VS Code settings should be stored under `/etc/vscode/` in the IFS.
1010

11-
![](./settings_json.png)
12-
1311
### Code for IBM i settings
1412

13+
![](./settings_json.png)
14+
1515
The path is `/etc/vscode/settings.json`. The top level is a JSON object that can contain different properties. Below is a table for the first level of properties. If sub-properties are not described here, refer to the content assist while working on the file.
1616

1717
| Property | Description |

0 commit comments

Comments
 (0)