HomePhabricator
Diffusion Comm 685c6e10f284

[lib] client side logic for handling policy acknowledgment

Description

[lib] client side logic for handling policy acknowledgment

Summary:
Adding a redux store in which will be stored data about user's policies, and action which will be dispatched on acknowledgment.

Context in ENG-2363.

There is a minor thing with this approach, there is possibility to dispatch the action multiple times, more in ENG-2431.

Test Plan: Connect to keyserver from account without accepted policies and check if action was properly dispatched after interaction with keyserver on both mobile/web.

Reviewers: tomek, atul

Reviewed By: tomek

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D5826

Details

Provenance
kamilAuthored on Dec 2 2022, 7:14 AM
Reviewer
tomek
Differential Revision
D5826: [lib] client side logic for handling policy acknowledgment
Parents
rCOMM3351f164fadb: [keyserver] validate if policies are acknowledged on request
Branches
Unknown
Tags
Unknown