-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding roles and permissions resources #1
base: master
Are you sure you want to change the base?
Conversation
"strings" | ||
) | ||
|
||
func resourceVsphereRole() *schema.Resource { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how are global permissions/roles managed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are not supported as of now, only entity level permissions are supported.
I couldn't find an API for global permissions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it a requirement to add support for global permissions? Maybe a good idea to check with Santosh.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I highly suggest that the ability to add global permissions is indeed important. I've already run into instances where I need to automate this for use by vRealize Suite service accounts that need this scope of access across Cloud Foundation workload domains. For example, vRealize Automation required global permissions to use the content library based on the hierarchy.
* Add import for vsphere_virtual_disk
Added 3 resources
data_source_vsphere_role.go:
resource_vsphere_role.go
resource_vsphere_entity_permission.go