Vés al contingut principal

Configuració de les galetes

Fem servir galetes per assegurar les funcionalitats bàsiques del lloc web i per a millorar la teva experiència en línia. Pots configurar i acceptar l'ús de galetes, i modificar les teves opcions de consentiment en qualsevol moment.

Essencials

Preferències

Analítiques i estadístiques

Màrqueting

Allow authorization handlers to control when reauthorization is allowed

Avatar: AH
AH
Currently the only way to allow users to reauthorize themselves using a specific authorization is when it is expired. This is defined by this line in the core code: https://git.io/JeqSl This is not ideal for all cases. In some cases we want to control when reauthorization is allowed from the authorization handler itself. This would mean that the authorization handlers would have a new method which would return a boolean indicating whether reauthorization is allowed. By default, this could just check whether the authorization is expired (as currently). Then it could be customized per authorization handler by overriding that method. For the use case in question, we need to allow reauthorization in case the user has already been authorized with the handler AND has not yet cast any budgeting votes in any components attached to that authorization handler. Currently this is not possible in Decidim out of the box. This requirement is only for the authorizations view under the user account views. It is already possible to allow this through the authorization modals.
Comentari

Confirmar

Si us plau, inicia la sessió

La contrasenya és massa curta.

Compartir