HomePhabricator
Diffusion Comm 06f3ea0cc42a

[lib] add legal policies list

Description

[lib] add legal policies list

Summary:
Add hardcoded list of policies that users will need to acknowledge.

If any new policy will be introduced only operation needed will be updating this object.

I decided to use object instead of the only array with string values, maybe in future there will be a need to distinguish between them, make some operations only on one and it will be easier to access (eg. now on running a script and choosing which policy requires re-acknowledge it can be based on object prop).

Test Plan: yarn flow check

Reviewers: atul, marcin, ashoat, tomek

Reviewed By: atul, marcin, ashoat, tomek

Subscribers: ashoat, atul, abosh

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

Details

Provenance
kamilAuthored on Nov 16 2022, 6:03 AM
Reviewer
atul
Differential Revision
D5306: [lib] add legal policies list
Parents
rCOMMde3b477b669f: [native] Don't call dispatch from reducer
Branches
Unknown
Tags
Unknown