@sealant/api-contracts-next 0.39.0-next.706 → 0.39.0-next.707

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,8 +38,9 @@ export type SessionMode = typeof sessionModeSchema.Type;
38
38
  * Only a person Mend made: a uid in 40001–49999 whose primary group is `mend` (40000), never root,
39
39
  * on a workspace whose sealantd reports `exec.user`. Anything else is refused before anything
40
40
  * starts (`409`, `user-unsupported`). sealantd checks the passwd entry it resolves again and starts
41
- * a process only as one of the executor's people (its owner map's uids, or the range), so editing
42
- * `/etc/passwd` with `sudo` cannot widen it. Absent: the workspace's own user, as before.
41
+ * a process only as one of its owner map's people or a person in Mend's reserved range (a uid in
42
+ * 40001–49999 whose primary group is 40000); root, root's group and anyone outside the range are
43
+ * refused, so editing `/etc/passwd` with `sudo` cannot reach root or a system user. Absent: the workspace's own user, as before.
43
44
  */
44
45
  export declare const workspaceProcessUserSchema: Schema.String;
45
46
  export type WorkspaceProcessUser = typeof workspaceProcessUserSchema.Type;
@@ -36,8 +36,9 @@ export const sessionModeSchema = Schema.Literals(["pty", "pipe"]);
36
36
  * Only a person Mend made: a uid in 40001–49999 whose primary group is `mend` (40000), never root,
37
37
  * on a workspace whose sealantd reports `exec.user`. Anything else is refused before anything
38
38
  * starts (`409`, `user-unsupported`). sealantd checks the passwd entry it resolves again and starts
39
- * a process only as one of the executor's people (its owner map's uids, or the range), so editing
40
- * `/etc/passwd` with `sudo` cannot widen it. Absent: the workspace's own user, as before.
39
+ * a process only as one of its owner map's people or a person in Mend's reserved range (a uid in
40
+ * 40001–49999 whose primary group is 40000); root, root's group and anyone outside the range are
41
+ * refused, so editing `/etc/passwd` with `sudo` cannot reach root or a system user. Absent: the workspace's own user, as before.
41
42
  */
42
43
  export const workspaceProcessUserSchema = Schema.String.check(Schema.isPattern(/^(?:[a-z_][a-z0-9_-]{0,31}|[0-9]{1,10})$/));
43
44
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sealant/api-contracts-next",
3
- "version": "0.39.0-next.706",
3
+ "version": "0.39.0-next.707",
4
4
  "description": "Contract-first HTTP API definitions for Sealant services",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -32,7 +32,7 @@
32
32
  "peerDependencies": {
33
33
  "effect": ">=4.0.0-beta.85 <5"
34
34
  },
35
- "gitHead": "cb310e9f9e850db78edf0f7f8fb1c3de42df1238",
35
+ "gitHead": "96be22f72c8c417278955d4a479e3f6690fa9dca",
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  }