We want to deprecate this function because it's no longer relevant for *RawThreadInfos without member permissions.
We're keeping it around to ensure existing migrations work as expected.
Depends on D12598
Paths
| Differential D12599 Authored by atul on Jun 27 2024, 2:05 PM.
Details Summary We want to deprecate this function because it's no longer relevant for *RawThreadInfos without member permissions. We're keeping it around to ensure existing migrations work as expected. Depends on D12598 Test Plan This diff is just a rename to make it clear function shouldn't be used in future. Looked at all callsites and ensured there's nothing preventing function from being deprecated.
Diff Detail
Event TimelineHerald added a subscriber: tomek. · View Herald TranscriptJun 27 2024, 2:05 PM2024-06-27 14:05:50 (UTC-7) Harbormaster failed remote builds in B29973: Diff 41772!Jun 27 2024, 2:19 PM2024-06-27 14:19:08 (UTC-7) Comment Actions Is the idea here that we'll never need to run deprecatedUpdateRolesAndPermissions again when we change permissions, since we're not storing the permissions in the ThreadStore at all? And that permission checks in the future will be computed on-the-fly based on the user's role in the relevant thread and its ancestors? This revision is now accepted and ready to land.Jul 1 2024, 1:05 PM2024-07-01 13:05:26 (UTC-7) Harbormaster failed remote builds in B30232: Diff 42155!Jul 9 2024, 11:19 AM2024-07-09 11:19:07 (UTC-7) This revision was landed with ongoing or failed builds.Jul 9 2024, 12:42 PM2024-07-09 12:42:55 (UTC-7) Closed by commit rCOMMad00e8286547: [lib] Deprecate `updateRolesAndPermissions` (authored by atul). · Explain Why This revision was automatically updated to reflect the committed changes. Harbormaster failed remote builds in B30238: Diff 42168!Jul 9 2024, 12:50 PM2024-07-09 12:50:55 (UTC-7) This revision is now accepted and ready to land.Jul 9 2024, 1:17 PM2024-07-09 13:17:35 (UTC-7) This revision was landed with ongoing or failed builds.Jul 9 2024, 1:27 PM2024-07-09 13:27:58 (UTC-7) Closed by commit rCOMMfc1e4abe9c83: [lib] Deprecate `updateRolesAndPermissions` (authored by atul). · Explain Why This revision was automatically updated to reflect the committed changes. Harbormaster completed remote builds in B30239: Diff 42171.Jul 9 2024, 1:35 PM2024-07-09 13:35:07 (UTC-7)
Revision Contents
Diff 42171 lib/shared/redux/deprecated-update-roles-and-permissions.js
lib/shared/redux/update-roles-and-permissions.js
native/redux/persist.js
web/redux/persist.js
|