Dear Geonetwork group,
After harvesting layers automatically I would like to update automatically
publish privileges to ALL so that I can provide such link to any user of my
web application:
http://129.194.231.172/geonetwork/apps/html5ui/print.html?uuid=0292c68a64d2352b4709c2c4c32807a4a384ae0c&currTab=simple&hl=eng
I wanted to execute an SQL "update" query. However I could not find any
table storing the privileges in the PostgreSQL database. Could you please
advise me on how I could set these privileges automatically without using
the web interface ?
Thanks
Hi
2015-08-18 19:29 GMT+02:00 Pierric de Laborie <pierric.delaborie@anonymised.com>:
Dear Geonetwork group,
After harvesting layers automatically I would like to update automatically
publish privileges to ALL so that I can provide such link to any user of my
web application:
http://129.194.231.172/geonetwork/apps/html5ui/print.html?uuid=0292c68a64d2352b4709c2c4c32807a4a384ae0c&currTab=simple&hl=eng
I wanted to execute an SQL "update" query. However I could not find any
table storing the privileges in the PostgreSQL database. Could you please
advise me on how I could set these privileges automatically without using
the web interface ?
You should look to the OperationAllowed table
https://github.com/geonetwork/core-geonetwork/blob/develop/domain/src/main/java/org/fao/geonet/domain/OperationAllowed.java#L9
Don't forget to update the index after SQL changes.
HTH
Francois
Thanks
------------------------------------------------------------------------------
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork