Skip to content

Security model of RDF4J - Howto model an Editor role #3164

Discussion options

You must be logged in to vote

I grant the editor role the DELETE method on a repository, so it can delete datasets from the repository. But then the editor also can delete the repository itself.

They're different endpoints though, so you should be able to differentiate them:

DELETE /rdf4j-server/repositories/<ID> <- removal of the repository itself

DELETE /rdf4j-server/repositories/<ID>/statements <- removing statements from the repository

If I grant the editor the PUT method, to add datasets to an existing repository, then the editor also create a new repository with new data (if the repository does not exists).

Likewise:

PUT /rdf4j-server/repositories/<ID> <- config/creation of the repository itself

PUT /rdf4j-s…

Replies: 2 comments 16 replies

Comment options

You must be logged in to vote
10 replies
@abrokenjester
Comment options

@abrokenjester
Comment options

@volkerjaenisch
Comment options

@abrokenjester
Comment options

@abrokenjester
Comment options

Answer selected by abrokenjester
Comment options

You must be logged in to vote
6 replies
@seralf
Comment options

@barthanssens
Comment options

@seralf
Comment options

@mielvds
Comment options

@barthanssens
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants