[FE] Show permissions that are inherited from base role

In #468386 (closed), we are adding a role details view. If the role is a custom role, a list of permissions is shown. We need to show permissions that are inherited from the base role as checked, with a badge to indicate that it's an inherited permission:

ksnip_20240730-122107
Edited by Daniel Tian