Open Closed

Identity management module approval flow or notification #1220


User avatar
0
vishalnikam created
  • ABP Framework version: v3.0.4
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

is Identity management module / access control support approval flow and notification or how to achieve this?

  1. If user changed his email then it should be approved by admin. or any way to block user from changing his email address in profile.
  2. user should get the notification on role changed.
  3. auto revoke access on particular event or after time period.
  4. How to deactivate user and not delete.

6 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    These features are not implemented by default, you can implement it yourself with these infrastructure below.

    https://docs.abp.io/en/abp/latest/Event-Bus https://docs.abp.io/en/abp/latest/Background-Workers https://docs.abp.io/en/abp/latest/SignalR-Integration

  • User Avatar
    0
    vishalnikam created
    • How do i find triggered method or event on user email id or role changed on abp user profile ?
    • How do i restrict user from changing email ?
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    How do i find triggered method or event on user email id or role changed on abp user profile ?

    You should consider PublishAsync the event yourself.

    How do i restrict user from changing email ?

    You can override the ProfileAppService of the identity pro module, which currently change user info.

  • User Avatar
    0
    vishalnikam created
    • You should consider PublishAsync the event yourself. - where do i get this event as we are using abp Identity module for uer creation/updation
    • Also there is requirment that Suppler Admin Role e.g Samsung Supplier admin should be see only samsung organization users. we created "Samsung" ABP organization unit and added Suppler Admin Role and User to it. But we logged in with Supplier admin, he is able to see all user and not just sumsung user. let me know how to achive this or filter this in ABP identity module.
    • See hierarchy
    • Anchor Admin >> Supplier Admin >> Supplier User
    • Here Supplier Admin should be able to View/Add/Update users of his organization.
    • Also, can we filter users based on claims ?
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    where do i get this event as we are using abp Identity module for uer creation/updation

    You can consider override these sevices,They are creating/updating users and user profiles.

    IdentityUserAppService and ProfileAppService

    https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Overriding-Services

    Also there is requirment that Suppler Admin Role e.g Samsung Supplier admin should be see only samsung organization users. we created "Samsung" ABP organization unit and added Suppler Admin Role and User to it. But we logged in with Supplier admin, he is able to see all user and not just sumsung user. let me know how to achive this or filter this in ABP identity module. See hierarchy Anchor Admin >> Supplier Admin >> Supplier User Here Supplier Admin should be able to View/Add/Update users of his organization. Also, can we filter users based on claims ?

    The default module does not provide these functions, you need to implement it yourself, like my reply above, override the default service, and customize your business logic

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 19, 2024, 12:56