Hi

I'm using Virtuoso 07.10 and I would like to give a minimum set of
permissions to a user in order to be able to insert data into a graph
and perform SPARQL queries over it.

I've created a new user using the following isql commands

DB.DBA.USER_CREATE ('student', 'student');
GRANT SPARQL_UPDATE TO "student";

Then, I log in with the "student" user into my endpoint using sparql-auth.
Performing this simple SPARQL 1.1 insert returns the following error message

INSERT DATA
{
      GRAPH <http://example.org/graph> { <http://edf.org/resource/dev>
foaf:name "dev" . }
}

Virtuoso RDF02 Error SR619: SPARUL INSERT access denied: database user
111 (curso) has no write permission on graph http://example.org/graph

SPARQL query:
define sql:big-data-const 0
#output-format:text/html
define sql:signal-void-variables 1 INSERT DATA
{
      GRAPH <http://example.org/graph> { <http://edf.org/resource/dev>
foaf:name "dev" . }
}

By using the older Virtuoso syntax for updates I obtain the same error message

INSERT IN GRAPH <http://example.org/graph> {
<http://edf.org/resource/dev> foaf:name "dev" . }

These two examples work fine if I log in with the dba user.
What I'm missing?

regards
Lorena

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to