Hi Jean,
I've done that and restarted geonetwork but it still doesn't work -same
error.
This is what I have added:
<!-- added in xml.user.update -->
<sec:intercept-url
pattern="/srv/[a-z]{2,3}/xml.user.update!?.*"
access="hasRole('Administrator')"></sec:intercept-url>
<!-- -->
and I am logged in as an administrator
Thanks
Jo
On Mon, Feb 9, 2015 at 11:17 AM, Jean Pommier <
jean.pommier@anonymised.com> wrote:
Hi Jo,
Check in config-security-mapping.xml : I would say your service is no more
listed in it. You need to add a line for it and give it proper rights
Jean
Le 09/02/2015 11:55, Jo Cook a écrit :
Hi Jose,
Unfortunately this still doesn't seem to have worked. I have added the
snippet into config.xml, restarted geonetwork, logged in as an
administrator, and I get the same error. For what it's worth, in case I am
doing something wrong- here is the URL I am using:
http://path/to/geonetwork2.10.4/srv/xml.user.update?operation=newuser&username=servicetest&password=servicetest&profile=Editor
Only the username, password and profile are listed as mandatory in the
documentation. I have tried added other parameters, such as groups and
email but I still get the same error:
YOU DO NOT HAVE THE CORRECT PERMISSIONS TO ACCESS THE FOLLOWING SERVICE
/GEONETWORK-2_10_4/SRV/XML.USER.UPDATE
Thanks
Jo
On Mon, Feb 9, 2015 at 7:25 AM, Jose Garcia <jose.garcia@anonymised.com> <jose.garcia@anonymised.com> wrote:
Hi Jo
Not really sure why this service was removed, also seem not reported in
any issue (https://github.com/geonetwork/core-geonetwork/milestones/2.10.5
)
A solution, is to re-add the service from the 2.8.x configuration, copy
the snippet fromhttps://github.com/geonetwork/core-geonetwork/blob/2.8.x/web/src/main/webapp/WEB-INF/config.xml#L794-L797
into your 2.10 installation and restart GeoNetwork to get the new service.
Regards,
Jose García
On Sun, Feb 8, 2015 at 4:06 PM, Jo Cook <jocook@anonymised.com> <jocook@anonymised.com54...>
wrote:
Hi List
While logged in as an administrator I can't use the xml.user.update
service- this redirects back to the service-not-allowed page every time. I
asked about this with 2.10.3 and was told that it had been removed in 2.10
for some reason- and it still seems to be absent in 2.10.4 even though
it's
in the documentation. I have an urgent business requirement for using
these
services, so I'd like to know if there is an open bug for them in 2.10.4,
and what would be required to get it fixed in 2.10.x. Potentially my
company could look at sponsoring a fix if that was an option.
Could someone let me know what the status of this problem is?
Many thanks
Jo
--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform<http://www.isharemaps.com/> <http://www.isharemaps.com/>
*****************************************
Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is
your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoNetwork-users mailing listGeoNetwork-users@anonymised.com://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained athttp://sourceforge.net/projects/geonetwork
--
*GeoCat Bridge for ArcGIS allows instant publishing of data and metadata
on GeoServer and GeoNetwork. Visit http://geocat.net/> <http://geocat.net/> for details. _________________________Jose
GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
Netherlandshttp://GeoCat.net/> <http://geocat.net/>\*
--
*Jean Pommier -- pi-Geosolutions*
Ingénieur, consultant indépendant
Tél. : (+33) 6 09 23 21 36
E-mail : jp@anonymised.com
Web : www.pi-geosolutions.fr
--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/>
*****************************************
Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.
(attachments)
