Commit 28036c1
committed
feat(apps): declare cyclefem permissions + consent message
Adds optional `permissions` and `consentMessage` fields to the
cyclefeminin bridge entry (schema-compatible, no version bump).
Consumers (hds-webapp) that recognize `permissions` gate the Connect
flow with a consent dialog and create a scoped app access via
accesses.create, then pass the scoped apiEndpoint to the bridge instead
of the user's personal token. Consumers that don't recognize these
fields ignore them — bridge stays connectable.
Permissions cover the 10 canonical streams the importer writes to plus
the `cyclefeminin-custom` parent for its 5 custom substreams (mucus
notes, day comments, cycle comments, cycle method, temperature context).1 parent 99bbf41 commit 28036c1
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
66 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
67 | 84 | | |
68 | 85 | | |
69 | 86 | | |
| |||
0 commit comments