Open Closed

Authority Delegation #9928


User avatar
0
elie.khadij-bmb created

I am using Authority delegation feature and it is working fine, my client suggested to have it datetime based range, so i was researching the docs i found a tutorial https://abp.io/community/articles/authority-delegation-in-abp-commercial-3wtljpp0#gsc.tab=0 that shows it as datetime by default, while in my solution it is date only. Any idea if datetime is still supported?

  • Exception message and full stack trace: No Exception
  • Steps to reproduce the issue:

8 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent

    The Authority Delegation feature in ABP Commercial, as described in the official tutorial you referenced, supports specifying a time range for delegations using both date and time (datetime). The UI in the documentation shows that you can select both the date and the time for the delegation period.

    If your current solution only allows selecting the date (without time), this is likely due to a limitation or configuration in your UI layer, not the ABP backend or the Authority Delegation module itself. The backend supports datetime ranges for delegations.

    To enable datetime selection in your Angular UI:

    • Ensure you are using the latest version of the LeptonX theme and ABP modules, as older versions may have only supported date selection.
    • Check your date picker component configuration in the Angular project. It should be set to allow both date and time selection.
    • If you are using a custom form or have overridden the default component, update it to use a datetime picker.

    Datetime-based delegation is supported by the ABP Authority Delegation feature, and you can enable it in your UI by updating your date picker configuration.

    Sources:

    • https://abp.io/community/articles/authority-delegation-in-abp-commercial-3wtljpp0#gsc.tab=0

    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

  • User Avatar
    0
    elie.khadij-bmb created

    How to update the date picker it is a closed module

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Do you want to change the datetime to a data-only in an Angular Authority Delegation modal?

    Thanks.

  • User Avatar
    0
    elie.khadij-bmb created

    I want datetime, it is by default dateOnly, and it is a closed module that I cant change in. can you give me a way please?

  • User Avatar
    0
    elie.khadij-bmb created

    it is like this now for some reason, I want to specify date and time

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    ok, I see, we will fix it in next patch version.

    Thanks.

  • User Avatar
    0
    elie.khadij-bmb created

    So it is a known issue for version 9? my angular is using 9.0.0 when my backend is 9.3.2

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Yes. We will fix it in 9.3.5 Thanks.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 23, 2025, 10:47