geoserver / geofence

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

Implement REST call for providing an EXPLAIN PLAN #184

Open etj opened 3 years ago

etj commented 3 years ago

Sometimes it is really difficult to understand the outcome of a given authorization request. At the moment the solution is to check the geofence log, at debug level (see for instance this comment).

It would be really useful to have a REST operation which provides detailed operation on a given request, such as the comment linked above (rules retrieved grouped by role, access granted to every single role, ...)

At the moment there is only a REST call for retrieving the rules (reported here); this issue is about having an idea of how the rules are going to be processed.

simboss commented 3 years ago

@etj I have asked @nmco to go ahead and help implementing this.

nmco commented 2 years ago

This issue needs some clarification @etj, it mixes a couple of things: EXPLAIN PLAN (I guess a PostgreSQL DB one) and then there is this this issue is about having an idea of how the rules are going to be processed.

We would need your knowledge of GeoFence to understand the rules workflow and what info we should expect, I'm sending an invite so we can have a quick about this.

nmco commented 2 years ago

Meeting with @etj and @taba90 18-01-2022:

@taba90 will work on plan and estimate for this.

taba90 commented 2 years ago

Implementation plan reviewed together with @etj 02/03/2022

Estimate for the task is 2,5-3 days.

@etj @nmco somehow I cannot change labels and status of this issue, probably because it is on the DevOps Pipeline can you change them?