Hi to all,
I've imported ~1500 xml metadata in geonetwork 2.1 in batch mode.
I can, transform from iso19115 to iso19139.
i can see when i access as registered user, but i can't search as guest
user.
There are any one mean to make visible all metadata to guest user whichout
tauch one by one privileges attributes?.
Where is needed change in table relations?
I have tried to change in operationsallowed to change groupid and oprationid
to metadataid, but it don't work.
Thanks,
--
View this message in context: http://www.nabble.com/How-to-make-visible-batch-inported-xml-metadata-to-guest-user--tf4950809s18419.html#a14175343
Sent from the geonetwork-users mailing list archive at Nabble.com.
I think that the guest is associated to the goup id 1
So to let the guest the right to see the metadata you must add on the
operationallowed table the view element or other as you like :
0 view
1 downloading
...
insert into operationallowed
select 1 as groupid, id as metadataid, 0 as operationid
from metadata
where id not in
(Select distinct(metadataid) from operationallowed where groupid=1)
The where condition to not change existing autorisation for this group maybe
not usefull ?
After the second problem is lucene you must stop tomcat and delete the files
in the lucene directory
And restart tomcat
/geonetwork/WEB-INF/lucene
I try ant it's work
Expecting that will help you
Fabien Bachraty
manso wrote:
Hi to all,
I've imported ~1500 xml metadata in geonetwork 2.1 in batch mode.
I can, transform from iso19115 to iso19139.
i can see when i access as registered user, but i can't search as guest
user.
There are any one mean to make visible all metadata to guest user whichout
tauch one by one privileges attributes?.
Where is needed change in table relations?
I have tried to change in operationsallowed to change groupid and
oprationid to metadataid, but it don't work.
Thanks,
--
View this message in context: http://www.nabble.com/How-to-make-visible-batch-inported-xml-metadata-to-guest-user--tf4950809s18419.html#a14188672
Sent from the geonetwork-users mailing list archive at Nabble.com.