Page MenuHomePhabricator

[lib] Extract userSurfacedPermissionsFromRolePermissions
ClosedPublic

Authored by ashoat on Aug 13 2024, 12:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 19, 2:33 PM
Unknown Object (File)
Sat, Oct 19, 2:33 PM
Unknown Object (File)
Sat, Oct 19, 2:32 PM
Unknown Object (File)
Sat, Oct 19, 2:32 PM
Unknown Object (File)
Sep 29 2024, 1:33 PM
Unknown Object (File)
Sep 29 2024, 1:29 PM
Unknown Object (File)
Sep 29 2024, 11:15 AM
Unknown Object (File)
Sep 14 2024, 11:47 PM
Subscribers
None

Details

Summary

This diff extracts a function from useRoleUserSurfacedPermissions, which I'm naming userSurfacedPermissionsFromRolePermissions.

We want to use this extracted function to address ENG-9031. It will be called by the keyserver from updateRoles to determine the currently-selected set of user-surfaced permissions.

Depends on D13068

Test Plan

This is a simple move diff. Besides Flow, it was also tested in combination with subsequent diffs

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable