geoserver / geofence

Advanced Authorization Manager for GeoServer
GNU General Public License v2.0
94 stars 55 forks source link

Add support for AdminRules to Rest Batch services #219

Open taba90 opened 1 year ago

taba90 commented 1 year ago

As per the title the new functionality aims to allow to send post requests with list of rules and admin rules to GeoFence. The insertion will be executed in a single transaction so that either all rules are correctly inserted either none if some rule in the list is invalid.

etj commented 1 year ago

@taba90 It's implemented since long

You may want to simply expand the current implementation to include operations for the AdminRules:

https://github.com/geoserver/geofence/blob/fd847053e923e8a341f23e079e9d16cce51c48d6/src/services/modules/rest/impl/src/main/java/org/geoserver/geofence/services/rest/impl/RESTBatchServiceImpl.java#L64

taba90 commented 1 year ago

Thanks for your point @etj I've changed the issue name to address the addition of admin rule support to REST Batch