Resolve a user capability into a printable name using the in-state cache, falling back to a placeholder so the line never reads <undefined> while the lookup is still pending.
<undefined>
Resolve a user capability into a printable name using the in-state cache, falling back to a placeholder so the line never reads
<undefined>while the lookup is still pending.