iOS/Android: present the credential-endpoint permission instead of refusing it
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- authorization, mobile
Research direction
Trace Products.RemotePermissionRequest, ProductPermission, toDomainRequest(), RustProductExecutionBridge.remotePermission, and Android's ProductPermission.fromLocal. Done means iOS presents a method/path/domain-specific credential prompt and accepts the permission, while Android can restore a stored credential grant without reporting an unknown type.
Written by the indexing model from the issue text.
Description
#781 adds RemotePermission::Credential { domain, path, method } (RFC 0025). iOS currently refuses it: toDomainRequest() answers nil and RustProductExecutionBridge.remotePermission returns false, so a product asking for a credential endpoint is declined on this host.
That was the safe way to unbreak the build — the permission is the prompt, since it attaches a host-derived caller identity to an outbound request, and there is nothing to show the user yet.
Full support needs:
- a
credential(domain:path:method:)case onProducts.RemotePermissionRequest, plus itsTagandfrom(json:)arm - a
ProductPermissioncase carrying domain, path and method, so the guard can store a decision per endpoint rather than per domain - prompt copy that names the method, path and domain, and says an identity is attached — the grant is
GET /xon one host, not the host toDomainRequest()returning it instead ofnil, and dropping the refusal inremotePermission
Android needs the same separately: it maps persisted permissions by type name (ProductPermission.fromLocal) and will error("Unknown permission type: …") on a stored credential grant once one can exist.
- Dominant language
- Swift
- Stars
- 10
- Forks
- 3
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 201
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from paritytech/host-rust-core
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
paritytech/host-rust-core#868 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
paritytech/host-rust-core#1008 ·
Maintainers usually reply within 1 day
-
bug host-android host-ios host-work
Difficulty 4/5 3-5 days Newbie friendliness 72/100
paritytech/host-rust-core#998 ·
Maintainers usually reply within 1 day
-
Closing a product leaves its SSO request live on the paired hostPossibly taken @decrypto21 claimed this 2 days ago. Open
paritytech/host-rust-core#987 · 1 assignee ·
Maintainers usually reply within 1 day
-
enhancement Humanity Pocket v2
Difficulty 5/5 Over a week Newbie friendliness 28/100
paritytech/host-rust-core#986 ·
Maintainers usually reply within 1 day
All issues in paritytech/host-rust-core
Similar issues
-
Dictated bullet lists keep the recogniser's commas at the end of every line ("- Milk," "- Eggs,")Openarea:dictation bug good first issue P2
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
uttrflow/uttrflow-swift#1958 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
521xueweihan/HelloGitHub#3788 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
callstackincubator/appduct#129 ·
Maintainers usually reply within 1 day
-
clawsweeper:not-repro-on-main impact:ux-friction issue-rating: 🦪 silver shellfish P2
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
steipete/CodexBar#4040 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
mozilla-mobile/firefox-ios#35827 ·
Maintainers usually reply within 1 day