-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
When a group permission request is active and an ensure call is made for a permission that belongs to that group (e.g., via a component like IdentitySearch), the individual request can overlap with the group request.
Problem
This results in multiple modals appearing for the same permissions, creating a confusing UX.
Steps to Reproduce
- Clone PeerPay repo (group-perms-support branch)
- npm run start
- Ensure all permissions are revoked for localhost:
- You should see two modals popup (single request, and group)
Expected Behavior
- If a group permission modal is active, any ensure calls for permissions within that group (same originator) should merge into the existing group request.
- The outcome of the individual ensure should depend on the user’s response to the group modal (grant or reject).
- The group permission modal should have a higher Z-index than individual modals.
Additional Information
Applies to permissions grouped under protocol, basket, certificate, and spending.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working