You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documentation v1.0, “Optional Role and UserRoles data-models”, states users are assigned one or more roles by adding them to the User.roles property: #Create 'user007' user with 'secret' and 'agent' roles
The documentation seems to be missing user1.roles.append(Role(name='secret')) user1.roles.append(Role(name='agent'))
Instead it shows the creation of an ‘Admin’ role.
The text was updated successfully, but these errors were encountered:
Documentation v1.0, “Optional Role and UserRoles data-models”, states users are assigned one or more roles by adding them to the User.roles property:
#Create 'user007' user with 'secret' and 'agent' roles
The documentation seems to be missing
user1.roles.append(Role(name='secret'))
user1.roles.append(Role(name='agent'))
Instead it shows the creation of an ‘Admin’ role.
The text was updated successfully, but these errors were encountered: