Skip to content

Proposal to Add GetGroupsAsync for Permission Group Retrieval #23550

@shuangbaojun

Description

@shuangbaojun

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

Image

As shown in the figure above, it is recommended to add a GetGroupsAsync method to retrieve all permission groups. This way, the GetByGroupAsync method can be used to load by group name as needed. Otherwise, using the GetAsync method retrieves all permission definitions, including group definitions.

Describe the solution you'd like

As shown in the figure above, it is recommended to add a GetGroupsAsync method to retrieve all permission groups. This way, the GetByGroupAsync method can be used to load by group name as needed. Otherwise, using the GetAsync method retrieves all permission definitions, including group definitions.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions