Page MenuHomePhabricator

[lib] Extract userSurfacedPermissionsFromRolePermissions
ClosedPublic

Authored by ashoat on Aug 13 2024, 12:50 PM.
Tags
None
Referenced Files
F3725004: D13073.id43398.diff
Wed, Jan 8, 5:56 PM
F3704884: D13073.diff
Tue, Jan 7, 10:22 PM
Unknown Object (File)
Sat, Dec 28, 7:41 PM
Unknown Object (File)
Sat, Dec 28, 7:41 PM
Unknown Object (File)
Sat, Dec 28, 7:41 PM
Unknown Object (File)
Thu, Dec 26, 7:10 PM
Unknown Object (File)
Sun, Dec 22, 4:04 PM
Unknown Object (File)
Sun, Dec 22, 4:04 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
No Lint Coverage
Unit
No Test Coverage