Top

Not seeing right contact status and impossible to delete users in sandbox questions

Comments

2 comments

  • Konrad Hyzy

    Hi,

    for more information about the Guest users, please follow this link. https://hub.openrainbow.com/#/documentation/doc/hub/users-in-rainbow.

     

    What method do you use to get all the users, even the one deleted, how can I reproduce this bug?

     

    Konrad

    0
    Comment actions Permalink
  • Hislamar BRACHO
    Hello,
     
    Ok, in https://hub.openrainbow.com/#/documentation/doc/hub/users-in-rainbow says that accounts with GUEST ROLE can’t do search. Maybe the problem is that I’m missing something during the guest user account creation…
     
    Can you check if this is a right POST call?? I create an account with this API call
     
    POST
    https://sandbox.openrainbow.com/api/rainbow/admin/v1.0/users 
     
    REQUEST BODY
    {
        “accountType”: “free”,
        “emails”: [
            {
                “email”: “my_guest_email@myguestdomain.com”,
                “type”: “other"
            ]
        ],
        “firstName”: "My guest firstname”,
        “lastName”: “My guest lastname”,
        “loginEmail”: “my_unique_guest_email@myguestdomain.com”,
        “country”: “ESP”,
        “timezone”: "Europe/Madrid”,
        “password”: “my_unique_password_with_Numb3rs_special_ch*racters”,
        “roles”: [
            “guest"
        ],
    ];
     
    After the successfully created account, I have the Rainbow <USER_ID> value, and I can see the user is listed with the RainbowCLI using this command:
     
    $ rbw users  --role=guest 
     
     
    Finally If I execute the RainbowCLI command
     
    $ rbw delete user <USER_ID>
     
     
    But the user never disappears from the database. Example:
     
     
    $ rbw delete user 5e884b5635c8367f99b96c83 --nc
     
    Welcome to Alcatel-Lucent Enterprise Rainbow CLI
    You are logged in as romani.david@gmail.com on platform sandbox.openrainbow.com
    Your roles user + admin + app_admin
    Your level company_admin > app_admin > user
     
    Action > Delete user '5e884b5635c8367f99b96c83' 
     
    User deleted '5e884b5635c8367f99b96c83'
    ✓ Command successfully completed
     
     
     
    $ rbw users  --role=guest
     
    Welcome to Alcatel-Lucent Enterprise Rainbow CLI
    You are logged in as romani.david@gmail.com on platform sandbox.openrainbow.com
    Your roles user + admin + app_admin
    Your level company_admin > app_admin > user
     
    Action > List users
     
    #   Name            LoginEmail                            Company  Account  Roles  Active  ID                        
    -   ----            ----------                            -------  -------  -----  ------  --                        
    45  Test Name       5e884b50b74c2_fk_rbw_email@gmail.com  Flux     free     guest  true    5e884b5635c8367f99b96c83  
     
    Kind regards.
     
     
    0
    Comment actions Permalink

Please sign in to leave a comment.

Still can't find what you need?

  • Contact Us

    Do you have any question about Rainbow? Leave us a message to get more information.

    Contact
  • Ask the Community

    Do you need help? Ask your questions in the Community to get answers from other Rainbow users.

    Post message