Hi,
Abp new solution Authority delegation =>delegate new user dropdown not showing existing users as documentation says. Is there any configuration needed to list existing users in delegate new user dropdown on Authority delegation popup?
- ABP Framework version: v8.2.0
- UI Type: MVC Leptonx
- Database System: EF Core (SQL Server)
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
- Exception message and full stack trace:
- Steps to reproduce the issue: create new solution via abp suite. add new user role and add 2 different users in previously added user role.
11 Answer(s)
-
0
hi
Are there any error messages in your browser console?
Please share the logs of backend
Thanks
-
0
-
0
hi
Can you share your test project via https://wetransfer.com/
liming.ma@volosoft.com
Thanks.
-
0
Hi Maliming,
You can just create new solution with ABP Suite(MVC LeptonX, Tiered, EF Core (SQL Server)).
Create user role and define 3 user under this role. Login one of this users and try Authority delegation =>delegate new user option. You will see your users are not listed there.
-
0
hi
Create user group and define 3 user under this group
What do you mean by
user group
? -
0
Hi Maliming,
I mean User Roles.
Please find project at https://we.tl/t-LotvotLgYh
-
0
-
0
Hi Maliming,
How should we know this? Could you please also update your documentation? Its was waste of time for everyone.
Thank you for your support.
-
0
Sorry for that. We will update the document.
-
0
Hi Maliming,
You said "You have to enter the full username to find the user. If an API can query all users, this is a security problem. So we changed the way."
How can we extend this functionality? We would like to enable search, not exact fullname. Could you please provide an example?
Thank you for your support.
-
0
hi
You can override the
GetUserLookupAsync
method ofIdentityUserDelegationAppService
Try to return the users that start with theUserName
public class GetUserLookupInput { public string UserName { get; set; } }```