Cloning a role using the hammer command failed with error: Resource role not found by id 'x'.
Issue
- Unable to clone the role in an
organizationusing hammer command. - Below error observed when clone the role:
# hammer role clone --organization "Redhat" --name "Viewer" --new-name "Viewer_New" --description "New viewer role"
Could not clone the user role:
Resource role not found by id '8'
Environment
- Red Hat Satellite 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.