-
Notifications
You must be signed in to change notification settings - Fork 427
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
[Bug]: Unable to use sdk.Client.Users.Show
with insufficient priveleges
#2817
Comments
sdk.Client.Users.Show
with insufficient priveleges
The issue is caused by several columns being returned as |
Hey @candiduslynx. I will link it to the user resource redesign as part of https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/ROADMAP.md#preparing-essential-ga-objects-for-the-provider-v1. |
Fix known user resource-connected issues: - Change the sensitiveness of name and login_name (References: #2662 #2668) - Handle "null" properly for the nullable bool text attributes in user (References: #2817) - Fix diff suppression for default_x in user resource (References: #2836) - Update the migration guide (References #2938 #2942) - Fix incorrect state after failed to alter (References #2970) - Confirm the problem with the computed disabled attribute (References #1572) - Confirm that the problem with the null-out password was already solved (References #1535) - Add TODO to handle days to expiry in user (References #1155) The next 2 PRs will contain: - adjusting user resource to our rework conventions (also adding additional fields and handling #1155 and #1572) - adjusting user datasource (will handle #2902) User rework will not include handling new types of users (service, legacy service); this will be done a bit later.
Hey @candiduslynx, the fix was included in #3013 and will be released in v0.95.0 today or tomorrow (we have to wrap up a few other PRs before making a release). Please check the migration guide and report any problems. |
cc: @erezrokah |
Hey @arkadiyt. |
cc @erezrokah once more |
Closing the issue due to inactivity. Please create a new one if the issue persists in the newest version of the provider. |
Terraform CLI Version
N/A
Terraform Provider Version
0.90.0
Terraform Configuration
N/A
Category
category:sdk
Object type(s)
resource:user, data_source:users
Expected Behavior
The missing fields should just be left empty
Actual Behavior
The
sdk.Users
Show
method (sdk.Client.Users.Show
) fails when using credentials that don't have bothOWNERSHIP
&MANAGE GRANTS
privileges (as required for full output in docs.Steps to Reproduce
A
B
withoutOWNERSHIP
&MANAGE GRANTS
privileges onA
sdk.Client.Users.Show
How much impact is this issue causing?
High
Logs
No response
Additional Information
No response
Would you like to implement a fix?
The text was updated successfully, but these errors were encountered: