Maybe the library has been updated, but the docs not?
Also, as a point of clarity, it may be helpful to point out creating groups doesn't need to be done in code at all, that it can be done through your UI instead. While I was able to deduce from the >>> that I shouldn't add this code to my app, it may not be entirely clear to a Python newbie that the snippet is only meant to be executed as a one-off in the CLI.
Hi,
I noticed the documentation for the Enforce User Authorization section may be a little off.
It says
but I couldn't get it to work unless I used the following
Maybe the library has been updated, but the docs not?
Also, as a point of clarity, it may be helpful to point out creating groups doesn't need to be done in code at all, that it can be done through your UI instead. While I was able to deduce from the
>>>
that I shouldn't add this code to my app, it may not be entirely clear to a Python newbie that the snippet is only meant to be executed as a one-off in the CLI.Cheers :smile: