marklogic/python_api

JSON serialization of Permission, Privilege broken

Opened this issue · 0 comments

At least Privilege and Permission are not JSON Serializable and throw errors when used;
They cannot be used to .set_privileges or permissions need to be set via role.set_property_list('permissions', perms) even, but then it also doesn't work.

My workaround is using a dict at the moment.

Python 3.6.