Skip to content

Add support for Global Permissions #1102

@stobias123

Description

@stobias123

Description

Would love to be able to create roles, edit permissions, etc in vsphere just like I can in IAM.

Potential Terraform Configuration

resource "vsphere_role_attachment" {
     role = "Read-Only"
     group = "foobar group"
}

resource "vsphere_user" {
    username = "[email protected]"
}

resource "vsphere_role_attachment" {
     role = "Read-Only"
     user = "[email protected]"
}

resource "vsphere_role" {
    name = "foobar_role"
    permissions = {
        compute = ["Create and Delete Compute Policy"]
        global = [
          "Set custom attribute",
          "Settings"
        ]
    }
}

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions