Commit 0a299a2
feat: Add Squash Mode to Export Policy
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: 8346297801 parent 7037104 commit 0a299a2
1 file changed
+28
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
440 | 459 | | |
441 | 460 | | |
442 | 461 | | |
| |||
484 | 503 | | |
485 | 504 | | |
486 | 505 | | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
487 | 515 | | |
488 | 516 | | |
489 | 517 | | |
| |||
0 commit comments