Keep automatic group discovery scoped to shared project clients
This commit is contained in:
@@ -33,16 +33,14 @@ Sessions capture their project path and abort signal. `readJson` returns an auth
|
||||
|
||||
## Project start screen
|
||||
|
||||
Use `sharedProjectsFolder: true` with `filesystem: appInfo.filesystem` for the shared group overview. Declare `group_projects_read` and `filesystem_read` in the extension manifest. The host advertises `supportsSharedGroupProjects` and `filesystem_list_group_projects` when the launch group supports automatic project access. The client lists direct `/shared/*.isap` projects returned for the group and validates their manifests. Members can open these projects on their first visit. A writable extension with `filesystem_write` uses `filesystem_create_group_project` to create or import into the same group. Opening a writable project provisions the extension's namespace, where it can initialize its own data. Older hosts display an update instruction.
|
||||
Use `sharedProjectsFolder: true` with `filesystem: appInfo.filesystem` for the shared group overview. Declare `group_projects_read` and `filesystem_read` in the extension manifest. The host advertises `supportsSharedGroupProjects` and `filesystem_list_group_projects` when the launch group supports automatic project access. The catalog lists projects created for the launch group through `filesystem_create_group_project`. Each has a direct `/shared/*.isap` path and a manifest that the client verifies. Members can open these projects on their first visit. Earlier projects retain their existing folder access. A writable extension with `filesystem_write` uses `filesystem_create_group_project` to create or import into the same group. Opening a writable project provisions the extension's namespace, where it can initialize its own data. Older hosts display an update instruction.
|
||||
|
||||
### Other client configurations
|
||||
|
||||
Project extensions can declare `group_projects_read` alongside `filesystem_read` and pass the command list from `get_app_info` to the client. On a host advertising `filesystem_list_group_projects`, `client.list()` reads the launch group's catalog on every refresh. The host determines which project folders are available to the launch group and authorizes operations against their folder IDs. The same workspace can have many independent group catalogs. Writable extensions create projects in the group's extension root. ZIP import creates a new project identity and appears in the list once its contents have been written.
|
||||
The default client uses the user's selected folders for listing and creation, including on hosts that advertise the group project catalog.
|
||||
|
||||
Use `client.withListedProject(row, action)` for project-specific background initialization. The callback receives a temporary session and leaves the active project and recent activity intact. ISA Projects initializes its first planning board with a stable ID when a writable shared project opens.
|
||||
|
||||
### Older hosts
|
||||
|
||||
Pass `groupFolder: true` to `createProjectClient` to use the extension’s folder for the current launch group as its default project location. This mode requires the host command `filesystem_ensure_group_folder`. The client lists projects from that folder and any additional folders the user has selected. New projects and project imports use the group folder.
|
||||
|
||||
### Project overview
|
||||
|
||||
Reference in New Issue
Block a user