python_api icon indicating copy to clipboard operation
python_api copied to clipboard

JSON serialization of Permission, Privilege broken

Open JJWTimmer opened this issue 4 years ago • 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.

JJWTimmer avatar Aug 06 '20 09:08 JJWTimmer