Both remove_permissions
and add_permissions
from auth0.management.users.Users
have wrong permission
representation
#622
Labels
bug
This points to a verified bug in the code
Checklist
Description
Checking the API docs from
Auth0 Management API v2 > Users > Assign permissions to a user
[link], andAuth0 Management API v2 > Users > Remove permissions from a user
[link]we can verify that a permission is represented by a
dict
with two values:while the
auth0-python
implementation expectsstr
(referring to 4.7.1 code snippet: [link](method reference:
auth0.management.users.Users.remove_permissions
andauth0.management.users.Users.add_permissions
)Reproduction
Using a CPython 3.12.3 venv with
auth0-python
4.7.1Additional context
No response
auth0-python version
4.7.1
Python version
3.12.3
The text was updated successfully, but these errors were encountered: