Repository navigation
registry: agents, their scopes, refusals and push kinds #90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "ftw-webapp": patch | ||
| --- | ||
|
|
||
| The registry names agents: assistants, Sourceful support and the release check, with their scopes, the scope that opens each command to an agent, their refusals and two push kinds. A box that sends the new kinds gets their notification toggles; nothing else in the app changes yet. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -60,3 +60,29 @@ events: | |
| # To every owner, when FTW Cloud is turned off at either door. | ||
| title: FTW Cloud is off | ||
| body: "Your box stopped sharing with FTW Cloud and asked it to delete its copy." | ||
| - kind: agent.added | ||
| # To every owner, when an owner gives an assistant, Sourceful support or | ||
| # the release check access to the box. Access from outside the house is | ||
| # news every owner should hear, as with cloud.granted. | ||
| title: New access to your box | ||
| body: "You gave an assistant or Sourceful access. See who has access in the app." | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When one co-owner creates a grant, this event is sent to every owner as specified immediately above, so owners who did not perform the action are nevertheless told “You gave” the access. For a security-sensitive access alert this misidentifies the actor; use neutral wording such as “An assistant or Sourceful was given access,” or include the actual granting owner. Useful? React with 👍 / 👎. |
||
| - kind: agent.request | ||
| # To every owner, when an agent asks for a durable change. It waits for | ||
| # one of them to confirm it, and runs out after twelve hours. | ||
| title: Waiting for your answer | ||
| body: "An assistant asks to change a setting. Open FTW to confirm or decline." | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When a box emits Useful? React with 👍 / 👎. |
||
| - kind: agent.expiring | ||
| # To every owner, a day before an agent's grant runs out, so access that | ||
| # should go on is renewed and access that should end can be left to end. | ||
| title: Access ends tomorrow | ||
| body: "An assistant's or Sourceful's access to your box runs out in a day. Renew it in the app if it should go on." | ||
| - kind: approval.key.set | ||
| # To every owner, when a phone registers or replaces the key that | ||
| # approves access. A new key is a new way to let others in. | ||
| title: A phone can now approve access | ||
| body: "A phone set up the key it uses to approve access to your box. If that was not you, remove the phone in the app." | ||
| - kind: owner.added | ||
| # To every owner, when a phone pairs as an owner. An owner can do | ||
| # anything, including give others access. | ||
| title: A new owner | ||
| body: "A phone was paired as an owner of your box. If that was not you, remove it in the app." | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When
agent.addedis delivered, the advertised inspection path does not exist in this app: the current Access screen only reads paired phones from/api/app-link/devices, and a repo-wide search finds no use ofaccess.agentsor any agent roster. An owner following this security-sensitive alert therefore cannot see which agent was granted access; either add the agent list before shipping this copy or point the notification to the box page that has it.Useful? React with 👍 / 👎.