Page MenuHomePhabricator

[lib] Extract userSurfacedPermissionsFromRolePermissions
ClosedPublic

Authored by ashoat on Aug 13 2024, 12:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 9, 12:03 PM
Unknown Object (File)
Feb 22 2025, 11:12 PM
Unknown Object (File)
Feb 22 2025, 11:12 PM
Unknown Object (File)
Feb 22 2025, 11:11 PM
Unknown Object (File)
Feb 22 2025, 11:09 PM
Unknown Object (File)
Feb 21 2025, 5:41 AM
Unknown Object (File)
Feb 3 2025, 11:49 AM
Unknown Object (File)
Feb 3 2025, 8:52 AM
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