[GeoNetwork-devel] Error when user tries to reset the password in 3.0.x

Hi List,

I’m using 3.0.5-snapshot (updated today) and getting the error reported here: https://github.com/geonetwork/core-geonetwork/issues/1258 by MaelREBOUX. The issue has been closed in 3.0.4 but I’m wondering if that particular error (“only registered users can change their password using this option” has actually been fixed or if it was just the original bug that was fixed?

If this is expected behaviour then surely if this option is only available to registered users then it should be hidden on the page to other user types?

Thanks

Jo

···

Jo Cook
t:+44 7930 524 155/twitter:@archaeogeek

Hi

For me looks a bug, the option Forgot your password, should work for any valid user, not only for registered users.

Regards,
Jose García

···

On Fri, Aug 26, 2016 at 3:57 PM, Jo Cook <jocook@anonymised.com> wrote:

Hi List,

I’m using 3.0.5-snapshot (updated today) and getting the error reported here: https://github.com/geonetwork/core-geonetwork/issues/1258 by MaelREBOUX. The issue has been closed in 3.0.4 but I’m wondering if that particular error (“only registered users can change their password using this option” has actually been fixed or if it was just the original bug that was fixed?

If this is expected behaviour then surely if this option is only available to registered users then it should be hidden on the page to other user types?

Thanks

Jo

Jo Cook
t:+44 7930 524 155/twitter:@archaeogeek


Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18 7RL, UK
t:+44 1372 744 009 w: astuntechnology.com twitter:@astuntech

iShare - enterprise geographic intelligence platform
GeoServer, PostGIS and QGIS training
Helpdesk and customer portal

Company registration no. 5410695. Registered in England and Wales. Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no. 864201149.



GeoNetwork-devel mailing list
GeoNetwork-devel@…537…sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.

Hi

Checking the code, the problem is here: https://github.com/geonetwork/core-geonetwork/blob/3.0.x/services/src/main/java/org/fao/geonet/services/password/SendLink.java#L86-L90

There’s an explicit check about the Registered User profile. For me doesn’t make sense, as other profiles I think should be able to reset the password. I have created this issue to track it: https://github.com/geonetwork/core-geonetwork/issues/1664

Regards,
Jose García

···

On Mon, Aug 29, 2016 at 8:27 AM, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi

For me looks a bug, the option Forgot your password, should work for any valid user, not only for registered users.

Regards,
Jose García

On Fri, Aug 26, 2016 at 3:57 PM, Jo Cook <jocook@anonymised.com> wrote:

Hi List,

I’m using 3.0.5-snapshot (updated today) and getting the error reported here: https://github.com/geonetwork/core-geonetwork/issues/1258 by MaelREBOUX. The issue has been closed in 3.0.4 but I’m wondering if that particular error (“only registered users can change their password using this option” has actually been fixed or if it was just the original bug that was fixed?

If this is expected behaviour then surely if this option is only available to registered users then it should be hidden on the page to other user types?

Thanks

Jo

Jo Cook
t:+44 7930 524 155/twitter:@archaeogeek


Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18 7RL, UK
t:+44 1372 744 009 w: astuntechnology.com twitter:@astuntech

iShare - enterprise geographic intelligence platform
GeoServer, PostGIS and QGIS training
Helpdesk and customer portal

Company registration no. 5410695. Registered in England and Wales. Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no. 864201149.



GeoNetwork-devel mailing list
GeoNetwork-devel@anonymised.comorge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.