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)
-
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
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.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi Maliming,
I mean User Roles.
Please find project at https://we.tl/t-LotvotLgYh
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
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.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
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.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
hi
You can override the
GetUserLookupAsyncmethod ofIdentityUserDelegationAppServiceTry to return the users that start with theUserNamepublic class GetUserLookupInput { public string UserName { get; set; } }```Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
