Role added to then removed from user re-appears after server restart (3.1.4)

0 views
Skip to first unread message

Conrad Leonard

unread,
Jul 30, 2015, 12:22:08 AM7/30/15
to Stardog
[conradL@slithytove stardog]$ stardog-admin role add -u admin -p admin someRole
Successfully added role someRole.
[conradL@slithytove stardog]$ stardog-admin role grant -u admin -p admin -a read -o db:someDb someRole
Successfully granted the permission.
[conradL@slithytove stardog]$ stardog-admin user addrole -u admin -p admin -R someRole anonymous
Role someRole has been successfully assigned to user anonymous.
[conradL@slithytove stardog]$ stardog-admin user permission -u admin -p admin -v anonymous
+---------------+---------------+-------------+-------------+
| Resource Type | Resource Name | Permissions |   Source    |
+---------------+---------------+-------------+-------------+
| *             | *             | --R----     | reader      |
| db            | someDb        | --R----     | someRole    |
| user          | anonymous     | --R----     | [anonymous] |
+---------------+---------------+-------------+-------------+
[conradL@slithytove stardog]$ stardog-admin user removerole -u admin -p admin -R someRole anonymous
Role someRole has been successfully unassigned from user anonymous.
[conradL@slithytove stardog]$ stardog-admin user permission -u admin -p admin -v anonymous
+---------------+---------------+-------------+-------------+
| Resource Type | Resource Name | Permissions |   Source    |
+---------------+---------------+-------------+-------------+
| *             | *             | --R----     | reader      |
| user          | anonymous     | --R----     | [anonymous] |
+---------------+---------------+-------------+-------------+
[conradL@slithytove stardog]$ stardog-admin server stop -u admin -p admin >/dev/null 2>&1 && stardog-admin server start >/dev/null 2>&1
[conradL@slithytove stardog]$ stardog-admin user permission -u admin -p admin -v anonymous
+---------------+---------------+-------------+-------------+
| Resource Type | Resource Name | Permissions |   Source    |
+---------------+---------------+-------------+-------------+
| *             | *             | --R----     | reader      |
| db            | someDb        | --R----     | someRole    |
| user          | anonymous     | --R----     | [anonymous] |
+---------------+---------------+-------------+-------------+

Michael Grove

unread,
Jul 30, 2015, 9:12:57 AM7/30/15
to stardog
Conrad,

Thanks, as always, for the concise and clear bug report.  The issue for this is #2414 and we'll fix it for the next release.

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

Reply all
Reply to author
Forward
0 new messages