Page MenuHomePhabricator

[lib] Extract userSurfacedPermissionsFromRolePermissions
ClosedPublic

Authored by ashoat on Aug 13 2024, 12:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 14, 11:47 PM
Unknown Object (File)
Sat, Sep 14, 11:47 PM
Unknown Object (File)
Sat, Sep 14, 11:46 PM
Unknown Object (File)
Sat, Sep 14, 11:44 PM
Unknown Object (File)
Sat, Aug 31, 1:23 PM
Unknown Object (File)
Aug 29 2024, 10:13 PM
Unknown Object (File)
Aug 27 2024, 5:25 PM
Unknown Object (File)
Aug 25 2024, 7:24 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