Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Change own VCD user password #224

Open
srekkas opened this issue May 17, 2023 · 0 comments
Open

Change own VCD user password #224

srekkas opened this issue May 17, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@srekkas
Copy link

srekkas commented May 17, 2023

Describe the bug

I try to change user which is used for login to VCD password.

  • name: update vcd user password
    vcd_user:
    username: "{{myaccount_username}}"
    is_enabled: "true"
    userpassword: "{{ new_pass }}"
    state: "update"

Reproduction steps

  1. Create task, where username is is same as used for VCD login
  • name: update vcd user password
    vcd_user:
    username: "{{myaccount_username}}"
    is_enabled: "true"
    userpassword: "{{ new_pass }}"
    state: "update"
  1. Get error
    Status code: 403/ACCESS_TO_RESOURCE_IS_FORBIDDEN, [ ed43b917-37ee-4088-af9e-1cdf1b2d2f90 ] Either you need some or all of the following rights [GROUP_USER_MANAGE] to perform operations [USER_EDIT] for 644c7424-c163-4419-9751-17bf2021cbdc or the target entity is invalid.
    ...

Expected behavior

Able to change own password

Additional context

User is local VCD user and is able to change password over VCD console.

@srekkas srekkas added the bug Something isn't working label May 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant