Can I add a permission to a named graph?

0 views
Skip to first unread message

al...@swirrl.com

unread,
May 14, 2014, 5:58:44 AM5/14/14
to sta...@clarkparsia.com
In the HTTP docs, it mentions under 'permissions' a "resource_type" option of "named-graph" [0].

In the security section, however, there's no mention of this as a valid resource type that you can work with via the CLI.

So, assuming I have a named graph like this wiki example [1], I want to add a permission for a user to access (read) just that graph and no others in the DB.

Is this possible? If so, how do I need to format the command? I have a user, bob, and the following command:

  ./stardog-admin --server http://localhost:5820/testDB user grant -a read -o named-graph:"http://example.org/joe#me" -P -u admin bob

This currently returns "The value named-graph:http://example.org/joe#me is invalid.", suggesting the problem is the value, not the resource type.

Thanks for your help!

Mike Grove

unread,
May 14, 2014, 7:25:58 AM5/14/14
to stardog
Named graph security is currently not supported, but it's near the top of the priority list for new features.

Cheers,

Mike


--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en

al...@swirrl.com

unread,
May 14, 2014, 8:17:10 AM5/14/14
to sta...@clarkparsia.com, al...@swirrl.com
Is there a way of limiting access to a graph or collection of graphs on a per request/per query basis, or would the solution be purely through the use of permissions when that feature is available for users?

If I may ask, how near the top? I don't know how much this is requested, but it does seem a useful feature.
Thanks again for the quick response.

Kendall Clark

unread,
May 14, 2014, 9:00:54 AM5/14/14
to stardog, al...@swirrl.com
On Wed, May 14, 2014 at 8:17 AM, <al...@swirrl.com> wrote:
Is there a way of limiting access to a graph or collection of graphs on a per request/per query basis, or would the solution be purely through the use of permissions when that feature is available for users?

If I may ask, how near the top? I don't know how much this is requested, but it does seem a useful feature. 

Very.

Cheers,
Kendall 
Reply all
Reply to author
Forward
0 new messages