Redesign CSV templates with human-readable column headers
- Replace API field names (guestok, abe, ro, maproot_user, etc.) with plain-English headers (Guest Access, Access-Based Enumeration, Read Only, Map Root User, etc.) for customer clarity - Drop comment rows that rendered poorly in spreadsheet apps - Use two realistic example rows instead to teach by example - Update csv_source.py to map friendly header names to API field names before validation and coercion (raw API names still accepted) - Update README column reference to match new header names Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,8 +1,3 @@
|
||||
path,comment,ro,maproot_user,maproot_group,mapall_user,mapall_group,security,hosts,networks,enabled
|
||||
# Required columns : path
|
||||
# security values : SYS KRB5 KRB5I KRB5P (space-separated for multiple; e.g. "SYS KRB5")
|
||||
# hosts : space-separated hostnames or IPs allowed to mount (empty = any host)
|
||||
# networks : space-separated CIDR networks (e.g. "192.168.1.0/24 10.0.0.0/8")
|
||||
# Boolean columns : ro enabled (true or false)
|
||||
# Lines starting with # are ignored. Delete the example row below and add your shares.
|
||||
/mnt/pool/export,Example NFS export,false,root,wheel,,,SYS,,,true
|
||||
Path,Description,Read Only,Map Root User,Map Root Group,Map All User,Map All Group,Security,Allowed Hosts,Allowed Networks,Enabled
|
||||
/mnt/tank/data,Primary data export,false,root,wheel,,,SYS,,192.168.1.0/24,true
|
||||
/mnt/tank/media,Media files read-only,true,,,,,,,,true
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 3 and column 83.
|
Reference in New Issue
Block a user