summaryrefslogtreecommitdiff
path: root/src/msg.fbs
diff options
context:
space:
mode:
Diffstat (limited to 'src/msg.fbs')
-rw-r--r--src/msg.fbs17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/msg.fbs b/src/msg.fbs
index da03e00a4..1b57e72ef 100644
--- a/src/msg.fbs
+++ b/src/msg.fbs
@@ -12,6 +12,9 @@ union Any {
Exit,
Environ,
EnvironRes,
+ Permissions,
+ PermissionRevoke,
+ PermissionsRes,
Fetch,
FetchRes,
MakeTempDir,
@@ -231,6 +234,20 @@ table KeyValue {
value: string;
}
+table Permissions {}
+
+table PermissionRevoke {
+ permission: string;
+}
+
+table PermissionsRes {
+ run: bool;
+ read: bool;
+ write: bool;
+ net: bool;
+ env: bool;
+}
+
// Note this represents The WHOLE header of an http message, not just the key
// value pairs. That means it includes method and url for Requests and status
// for responses. This is why it is singular "Header" instead of "Headers".