[midPoint] access requests: default validity

Peter Balcirak peter.balcirak at evolveum.com
Wed Feb 19 09:42:40 CET 2025


Hello Markus,

Unfortunately, it is not possible to define a pre-selected value in the 
validity select box right now. If you would like to use it in the 
future, please create a feature request for it at support.evolveum.com.

The error you've mentioned is indeed a bug. I have reported it, and you 
can follow it in the link:
https://support.evolveum.com/projects/midpoint/work_packages/10459/

Best regards,
Peter Balčirák

On 1/24/25 11:19, Markus Calmius via midPoint wrote:
> Hi,
>
> (Using midpoint 4.8.5)
>
> is it possible to specify a default validity in the "shopping cart"
> For test purposes, I've configured my checkout as below, but since the 
> drop-down shows
> "choose one" if you don't change that value the access will be forever.
> If I do set mandatory to true, and select 1 hour, I get an error:
> "At least one field of valid from/to has to be filled in" - which 
> seems like a bug as I have clearly specified the validity.
>
> It would be excellent if I could specify the default value of 1 Hour 
> (or whatever if there are more values)
>
> Kind regards,
> Markus
>
>
> <checkout>
>     <comment>
>         <mandatory>true</mandatory>
>     </comment>
>     <validityConfiguration>
> <allowOnlyGlobalSettings>true</allowOnlyGlobalSettings>
>         <!--
>             <mandatory>true</mandatory>
>         -->
>         <predefinedValue>
>             <display>
>                 <label>1 Hour</label>
>             </display>
>             <duration>PT60M</duration>
>         </predefinedValue>
>     </validityConfiguration>
> </checkout>
>
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20250219/9766b2d2/attachment.htm>


More information about the midPoint mailing list