feat: [netapp] Add Squash Mode to Export Policy#6905
Merged
Conversation
This change introduces squash mode options to the export policy rules. Squash mode determines how user and group IDs are mapped for NFS volume access. The following squash modes are added: * **NO_ROOT_SQUASH** Root user retains full access. * **ROOT_SQUASH** Root user is mapped to the anonymous user ID. * **ALL_SQUASH** All users are mapped to the anonymous user ID. A new field anon_uid is also added to specify the anonymous user ID when ALL_SQUASH is used. The squash_mode field takes precedence over the existing has_root_access field, which will be deprecated in the future. PiperOrigin-RevId: 834629780 Source-Link: googleapis/googleapis@0a299a2 Source-Link: googleapis/googleapis-gen@41aa97c Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW5ldGFwcC8uT3dsQm90LnlhbWwiLCJoIjoiNDFhYTk3YzM2MDQwMDA5OWU1MmU0NTA1ZTQyZWUwNjMxMjM1NjBkOSJ9
Collaborator
|
/gcbrun |
Collaborator
|
/gcbrun |
sofisl
approved these changes
Nov 21, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change introduces squash mode options to the export policy rules. Squash mode determines how user and group IDs are mapped for NFS volume access.
The following squash modes are added:
A new field anon_uid is also added to specify the anonymous user ID when ALL_SQUASH is used.
The squash_mode field takes precedence over the existing has_root_access field, which will be deprecated in the future.
PiperOrigin-RevId: 834629780
Source-Link: googleapis/googleapis@0a299a2
Source-Link: https://github.com/googleapis/googleapis-gen/commit/41aa97c360400099e52e4505e42ee063123560d9
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW5ldGFwcC8uT3dsQm90LnlhbWwiLCJoIjoiNDFhYTk3YzM2MDQwMDA5OWU1MmU0NTA1ZTQyZWUwNjMxMjM1NjBkOSJ9