{
if (permission.type === PermissionType.Role)
ContextMenu.open(e, () => (
));
}}
>
{(permission.type === PermissionType.Role || permission.type === PermissionType.Owner) && (
)}
{permission.type === PermissionType.User && user !== undefined && (
)}
{
permission.type === PermissionType.Role
? role?.name || "Unknown Role"
: permission.type === PermissionType.User
? user?.tag || "Unknown User"
: (
@owner
)
}