New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[geonetwork4] broken access to admin.console #3545
Comments
the previously working war i had was from around end of august. |
i have no idea if this has something to do with GN4 database schema, if it has to be updated to take into account the authz thing (eg new tables ? new fields in existing tables ?) putting some debug here and there, the
guess some header things are still missing here and there ? |
probably related to georchestra/datadir#221 being docker only and not applied to master. depressing. |
still broken after manually backporting those bits, even if it seems a 'Principal' (whatever that is) correctly identifies
|
thanks to @pmauduit who found out what the issue is - in my instance, in the gn4 database users have if i set the field to NULL for testadmin, i can access GN4 admin console again.
either this should be documented somewhere (#3547 ?), or the code in GN4 checking the authtype should be amended, or something... this will break all platforms upgrading from previous releases. And ofc this wasnt caught because nobody does tests outside localhost installs from scratch within docker, instead of doing tests on real environments with datasets/user database from the real world :) |
Not totally true: in fact I stumbled upon it when migrating the dev environment from geo2france, which is actually a docker/rancher-based setup ; I just totally forgot about it. But right, the recent developments lacked testing onto regular setups. |
Migration notes, indeed. |
since the large merge from gn4/@groldan's contributions, i can no longer access GN4 admin ui, visiting
srv/fre/admin.console
now redirects tosrv/fre/catalog.search
as a testadmin - that's using the war provided by the debian package99.master.20211126164656~a74f564
built from georchestra/geonetwork@a74f564i've manually applied all the apparently needed changes to
geonetwork.properties
and updated the LDAP DIT (cf https://gist.github.com/pmauduit/c743ac13cc4b08dd4cda150d6279ef16) to have thegeorchestraObjectIdentifier
attribute - doesnt help.The text was updated successfully, but these errors were encountered: