mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-10 20:50:52 +08:00
Make session visibility preference-driven and keep system-channel ACL separate.
Super/fallback can toggle view-all (default on); admin/user stay own-only while still seeing unowned system sessions. Add restore/prune helpers so empty-shell cleanup is explicit and recoverable.
This commit is contained in:
parent
c26dc68f77
commit
ad0cc98b38
17 changed files with 898 additions and 93 deletions
9
uds-auth/scripts/dump-workspaces.ps1
Normal file
9
uds-auth/scripts/dump-workspaces.ps1
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
$ErrorActionPreference = 'Stop'
|
||||
$w = Get-Content 'C:\Users\zhout\.dsh\storages\workspace.json' -Raw | ConvertFrom-Json
|
||||
foreach ($prop in $w.tables.workspaces.PSObject.Properties) {
|
||||
$row = $prop.Value
|
||||
Write-Output ("id={0}" -f $prop.Name)
|
||||
Write-Output (" path={0}" -f $row.path)
|
||||
Write-Output (" title={0}" -f $row.title)
|
||||
Write-Output (" sessionIds={0}" -f @($row.sessionIds).Count)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue