rea-agents - v2.1.0
Preparing search index...
application/ProjectPermissionStore
writeProjectPermissionStore
Function writeProjectPermissionStore
writeProjectPermissionStore
(
path
:
string
,
projectRoot
:
string
,
grants
:
readonly
PermissionGrant
[]
,
)
:
Promise
<
Result
<
{
grants
:
{
capability
:
|
"process_capture"
|
"browser_observe"
|
"electron_observe"
|
"evidence_read"
|
"evidence_write"
|
"investigation_input"
|
"investigation_workspace_read"
|
"investigation_workspace_write"
|
"snapshot_read"
|
"snapshot_write"
|
"artifact_extract"
|
"native_mount"
|
"reference_read"
|
"javascript_replay"
|
"managed_runtime"
;
environment_names
:
string
[]
;
executables
:
string
[]
;
expires_at
:
string
|
null
;
grant_id
:
string
;
lifetime
:
"project"
;
mount
:
boolean
;
network
:
"none"
|
"external"
|
"loopback"
;
operation_identity
:
string
|
null
;
origins
?:
string
[]
;
roots
:
string
[]
;
}
[]
;
project_id
:
string
;
project_root
:
string
;
schema_version
:
1
;
}
,
ProjectPermissionStoreError
,
>
,
>
Atomically replace explicit project grants with owner-only permissions.
Parameters
path
:
string
projectRoot
:
string
grants
:
readonly
PermissionGrant
[]
Returns
Promise
<
Result
<
{
grants
:
{
capability
:
|
"process_capture"
|
"browser_observe"
|
"electron_observe"
|
"evidence_read"
|
"evidence_write"
|
"investigation_input"
|
"investigation_workspace_read"
|
"investigation_workspace_write"
|
"snapshot_read"
|
"snapshot_write"
|
"artifact_extract"
|
"native_mount"
|
"reference_read"
|
"javascript_replay"
|
"managed_runtime"
;
environment_names
:
string
[]
;
executables
:
string
[]
;
expires_at
:
string
|
null
;
grant_id
:
string
;
lifetime
:
"project"
;
mount
:
boolean
;
network
:
"none"
|
"external"
|
"loopback"
;
operation_identity
:
string
|
null
;
origins
?:
string
[]
;
roots
:
string
[]
;
}
[]
;
project_id
:
string
;
project_root
:
string
;
schema_version
:
1
;
}
,
ProjectPermissionStoreError
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
rea-agents - v2.1.0
Loading...
Atomically replace explicit project grants with owner-only permissions.