I cross checked the above against Stardog 3.0.1 (running on the same Oracle JDK 8), and I get the same HTTP Request, but the Role permission works without an error.
Anyone upgraded to Stardog 3.1 and faced this issue ?
Conrad Leonard
unread,
Jun 16, 2015, 8:40:29 AM6/16/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sta...@clarkparsia.com, oklma...@gmail.com
Yes; I see a similar thing when adding permission via HTTP POST; it appears that in 3.1 the value of the 'resource' key in the JSON payload to create permission is required to be a list, rather than a simple string as it used to be. From what you say, the web console in 3.1 is still using the old format too. If you want a workaround via a direct POST, changing 'resource: "*"' to be: 'resource: ["*"]' should work.
Edgar Rodriguez
unread,
Jun 16, 2015, 11:23:24 AM6/16/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sta...@clarkparsia.com
Yes, this is an bug and it should be fixed in the next release (3.1.1).