Issue: fix(authz): Proper descriptions for parents

Currently descriptions for parent groups in invite page of control center are not entity specific. That means, customers in description will be visible for profile level users when it shouldn't.

Resolution: <think>
PR Context:
- Title: feat(authz): Make info APIs support `ParentGroup`
- Merged: 2024-10-30T10:42:37Z
- Files changed: 13 files
- Commits: 8 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
<!-- Describe your changes in detail -->
Make new APIs to replace
- `/user/role/{{role_id}}` -> `/user/role/{{role_id}}/v2`
- `/user/role` -> `/user/role/v2`
- `/user/module/list` -> `/user/parent/list`

The new APIs will have proper description and parent info which has entity 
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** feat(authz): Make info APIs support `ParentGroup` (#6440)
Co-authored-by: hyperswitch-bot[bot] <1485
Files to modify:


**crates/api_models/src/events/user_role.rs**
  Modify existing code

**crates/api_models/src/user_role/role.rs**
  Add:
    - struct: pub::RoleInfoWithParents
    - struct: pub::ParentGroupInfo
    - struct: pub::GroupsAndResources

**crates/common_enums/src/enums.rs**
  Modify existing code

**crates/router/src/core/user_role.rs**
  Add:
    - function: pub::get_parent_group_info

**crates/router/src/core/user_role/role.rs**
  Add:
    - function: pub::get_groups_and_resources_for_role_from_token
    - function: pub::get_parent_info_for_role

**crates/router/src/routes/app.rs**
  Modify existing code

**crates/router/src/routes/lock_utils.rs**
  Modify existing code

**crates/router/src/routes/user_role.rs**
  Add:
    - function: pub::get_groups_and_resources_for_role_from_token
    - function: pub::get_parent_info_for_role
    - function: pub::get_parent_group_info

**crates/router/src/services/authorization/info.rs**
  Remove:
    - function: pub::get_parent_name

**crates/router/src/services/authorization/permission_groups.rs**
  Add:
    - function: private::get_descriptions_for_groups

**crates/router/src/services/authorization/permissions.rs**
  Add:
    - function: pub::get_resource_name
    - function: pub::get_scope_name

**crates/router/src/services/authorization/roles/predefined_roles.rs**
  Modify existing code

**crates/router_env/src/logger/types.rs**
  Modify existing code