I didn't understand what happened. But after reinstalling Virtuoso, it's been working. Thank you anyway.

Best regards,
Kinh


On 01/12/14 14:57, Cong Kinh Nguyen wrote:
Hi everybody,

I am a newbie with Virtuoso. I am working in a system where we need to support SPARQL queries and some kinds of privacy.

I suppose that I have three graphs:

- http://example.com/public (anybody can have READ access to this graph)
- http://example.com/private/Anna (only Anna has READ access to this graph)
- http://example.com/private/Bob (only Bob has READ access to this graph)

I was trying as the following steps with dba (only the 'dba' user can update data):
DB.DBA.USER_CREATE ('Anna', 'Anna');
DB.DBA.USER_CREATE ('Bob', 'Bob');

DB.DBA.RDF_DEFAULT_USER_PERMS_SET ('nobody', 0);
DB.DBA.RDF_DEFAULT_USER_PERMS_SET ('Anna', 0);
DB.DBA.RDF_DEFAULT_USER_PERMS_SET ('Bob', 0);

DB.DBA.RDF_GRAPH_USER_PERMS_SET ('http://example.com/private/Anna', 'Anna', 1);
DB.DBA.RDF_GRAPH_USER_PERMS_SET ('http://example.com/private/Bob', 'Bob', 1);


When I executed those commands, I received errors saying "
Permissions of unauthenticated user are broader than new permissions of user "Anna" on 
specific graph<http://example.com/private/Anna>". This kind of message also happened for 
'Bob' user.

I was wondering if someone could tell me where I was wrong or what I had to do 
to fix this issue. Thanks in advance!

Best regards,
Kinh


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to