Aklakan commented on PR #3184:
URL: https://github.com/apache/jena/pull/3184#issuecomment-3241690591
> 2. It is uncontrolled - any one can stop a request.
Its possible to combine this with Fuseki's security and there is a context
flag to disable the stop action (both in HTML and the API):
```turtle
<#service> rdf:type fuseki:Service ;
fuseki:name "coypu" ;
fuseki:endpoint [
fuseki:operation fuseki:gsp_rw ;
fuseki:name "data" ;
fuseki:allowedUsers "admin" ;
] ;
fuseki:endpoint [
fuseki:operation fuseki:tracker ;
fuseki:name "tracker" ;
ja:context [ ja:cxtName "allowAbort" ; ja:cxtValue false ] ; # Disable
stop action
] ;
fuseki:endpoint [
fuseki:operation fuseki:tracker ;
fuseki:name "admin-tracker" ;
fuseki:allowedUsers "admin" ;
```
Public exec tracker without stop action (stop button is greyed out and API
will raise an exception): https://data.aksw.org/coypu/tracker
Visiting this URL will trigger an execution:
https://data.coypu.org/country/DEU (Disable the `Calculate inferences` checkbox
for now, I still need to deploy an update).
Protected admin tracker (should not be acessible):
https://data.aksw.org/coypu/admin-tracker
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]