Repository navigation
Design the permissionreset-smb write path - #59
Open
robertcantu-pure wants to merge 2 commits into
Open
robertcantu-pure wants to merge 2 commits into
robertcantu-pure wants to merge 2 commits into
Conversation
A draft design for resetting DACLs and SACLs on FlashArray over SMB, built on the 2026-11-12 answers to decision record questions 1 and 3. Objects that only inherit get no write; an object that must be written and should inherit takes ID ACEs computed from its parent's desired DACL, parents first, so it stays dynamic. Each rule maps to one of three stored forms (inherits, explicit + inherits, protected). Covers the plan schema 2 translation and what it refuses (I flags, OWNER@/GROUP@ in a DACL, numeric ids), the top-down walk, dry run and validate, the probe preflight, the inheritance canary (G1) and read-back (G2) stop conditions, evidence, four hardware questions the design depends on, and a phased plan to smb-v0.1.0. No code. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Adds
smb/DESIGN-write-path.md: howpermissionreset-smbwill reset DACLs and SACLs on FlashArray over SMB. It builds on the answers to decision record questions 1 and 3 (#58). Design only, no code. The maintainer chose the three-form model (below) over writing every object explicit and protected.Core model. Each object's rule ACL maps to one of three stored forms:
D:P.Inherited ACEs are computed from the parent's desired DACL, and the walk is top-down, so written objects stay dynamic. Without that, they become the frozen copy seen in Q1a.
Also covers:
build-spectranslates DACL lines; it refusesIflags,OWNER@/GROUP@in a DACL, and numeric ids)smb-v0.1.0smb/CLAUDE.mdandsmb/README.mdpoint at it.Verification
origin/main..HEADcommits: clean.🤖 Generated with Claude Code