Erik Marks
fc1ffae406
Add subject types ( #13026 )
...
This PR introduces the concept of subject _types_ to be associated with each subject in the `SubjectMetadataController`, and used for control flow in our RPC stack (`setupProviderEngine` and so forth).
We already differentiate between "types" of subjects in various places on an ad hoc basis via boolean flags (e.g. `isInternal` in our RPC stack) or the presence/absence of certain values in the subject's metadata (specifically `metadata.extensionId`). The status quo is manageable if not ideal, but will start to become untenable with the introduction of Snaps in the near future.
Therefore, this PR establishes a `SUBJECT_TYPES` enum and adds the `subjectType` property to the metadata of each subject. A new migration is added to accomplish this. Finally, we specify and `INTERNAL` subject type to distinguish internal from external requests.
2021-12-08 15:37:29 -08:00
..
2021-02-04 10:15:23 -08:00
2021-02-04 10:15:23 -08:00
2021-02-04 10:15:23 -08:00
2021-02-04 10:15:23 -08:00
2021-02-04 10:15:23 -08:00
2021-02-04 10:15:23 -08:00
2021-02-04 10:15:23 -08:00
2021-02-04 10:15:23 -08:00
2021-02-04 10:15:23 -08:00
2021-02-04 10:15:23 -08:00
2021-02-04 10:15:23 -08:00
2021-02-04 10:15:23 -08:00
2021-02-04 10:15:23 -08:00
2021-02-04 10:15:23 -08:00
2021-02-04 10:15:23 -08:00
2021-02-04 10:15:23 -08:00
2021-02-04 10:15:23 -08:00
2021-02-04 10:15:23 -08:00
2021-02-04 10:15:23 -08:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-05-17 16:19:39 -05:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-04-14 09:24:17 -05:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00
2021-02-26 09:40:25 -06:00
2021-09-21 09:28:13 -07:00
2021-08-17 19:18:53 -07:00
2021-09-21 09:28:13 -07:00
2021-03-19 10:17:39 -07:00
2021-09-21 09:28:13 -07:00
2021-03-22 10:21:52 -05:00
2021-09-21 09:28:13 -07:00
2021-08-17 19:18:53 -07:00
2021-09-21 09:28:13 -07:00
2021-03-30 09:54:05 -05:00
2021-09-21 09:28:13 -07:00
2021-04-28 14:21:41 -02:30
2021-09-22 08:15:40 -07:00
2021-05-17 12:44:47 -05:00
2021-09-22 08:15:40 -07:00
2021-05-18 10:55:55 -07:00
2021-09-22 08:15:40 -07:00
2021-06-04 23:33:58 -07:00
2021-09-22 08:15:40 -07:00
2021-06-24 15:37:44 -07:00
2021-09-22 08:15:40 -07:00
2021-09-10 12:37:19 -05:00
2021-09-21 09:28:13 -07:00
2021-09-15 16:54:51 -05:00
2021-09-22 08:15:40 -07:00
2021-10-15 13:52:52 -05:00
2021-10-15 13:52:52 -05:00
2021-10-21 16:47:03 -02:30
2021-10-21 16:47:03 -02:30
2021-11-15 15:50:33 -03:30
2021-11-15 15:50:33 -03:30
2021-12-06 19:16:49 -08:00
2021-12-06 19:16:49 -08:00
2021-12-08 15:37:29 -08:00
2021-12-08 15:37:29 -08:00
2021-02-04 10:15:23 -08:00
2021-12-08 15:37:29 -08:00
2021-09-21 09:28:13 -07:00
2021-02-04 10:15:23 -08:00
2021-09-21 09:28:13 -07:00