Need ability to filter members by group name in the backoffice #13708
Replies: 8 comments
-
Sure it would be nice to have a paged list view in this overview containing the members with the selected role (member group). If anyone is thinking of picking this up then please note that the thing that I'm worried about (and why this might not have been done yet) is that querying for this data might be difficult and might not perform well, so that needs looking into. |
Beta Was this translation helpful? Give feedback.
-
Hi @saifobeidat, We're writing to let you know that we've added the For more information about issues and states, have a look at this blog post Thanks muchly, from your friendly PR team bot :-) |
Beta Was this translation helpful? Give feedback.
-
@nul800sebastiaan I can take a stab at this one if you like. There seems to already be GetByMemberGroup and a FindMembersInRole method in the MemberRepository. I think a group and a role is the same thing here. FindMemberInRole seems to have been build to support filtering for some UI view if I were to take a guess. There's usages of both in the MemberService. In fact GetMembersInRole and GetMembersByGroup are identical Umbraco-CMS/src/Umbraco.Core/Services/Implement/MemberService.cs Lines 1003 to 1010 in 935690b Umbraco-CMS/src/Umbraco.Core/Services/Implement/MemberService.cs Lines 497 to 504 in 935690b Is there some historical difference between a MemberGroup and a Role here that I'm missing as a new contributor? |
Beta Was this translation helpful? Give feedback.
-
I believe those method exists for frontend usage, for example if you have an intranet and want to list members in the "UX" group or something. Member groups is just what Umbraco has called it for a long time but it's exactly the same as Roles, which is what the asp.net membership provider calls it. I'd be happy for you to have a look of course but be aware that this has to be turned into paged lists, not just returning all members. For example, the Our Umbraco database has about 200000 registered members in it, so it might not perform very well. I guess one of the methods |
Beta Was this translation helpful? Give feedback.
-
I would agree with @nul800sebastiaan here =D However there is a concept of "Slim"-objects for other types (not sure about members) and maybe we can reuse this and not include any custom properties for the member as this is what would become slow =D |
Beta Was this translation helpful? Give feedback.
-
Hiya @saifobeidat, Just wanted to let you know that we noticed that this issue got a bit stale and might not be relevant any more. We will close this issue for now but we're happy to open it up again if you think it's still relevant (for example: it's a feature request that's not yet implemented, or it's a bug that's not yet been fixed). To open it this issue up again, you can write For example:
This will reopen the issue in the next few hours. Thanks, from your friendly Umbraco GitHub bot 🤖 🙂 |
Beta Was this translation helpful? Give feedback.
-
@umbrabot still relevant |
Beta Was this translation helpful? Give feedback.
-
We are currently converting our feature requests to discussions, so even though this one has stalled, I would do the transfer to keep the discussion and link to a potential solution (the closed PR). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In my case, we have a large number of members and we need sometimes to check if a member exists in a certain group or not.
so it would be a great feature if we can from the back office to list all members of particular group type by clicking [group name] and all related members will appear on the right side.
Beta Was this translation helpful? Give feedback.
All reactions