Skip to content

feat: security role scaffold applier for pp-security-role - #96

Open
zekelinAlex wants to merge 3 commits into
users/alexander.zekelin/applier-pp-control-parameterfrom
users/alexander.zekelin/applier-pp-security-role
Open

zekelinAlex wants to merge 3 commits into
users/alexander.zekelin/applier-pp-control-parameterfrom
users/alexander.zekelin/applier-pp-security-role

Conversation

@zekelinAlex

Copy link
Copy Markdown
Contributor

First consumer of SolutionRootComponentPatcher: pp-security-role's whole post-action is one RootComponent append (type 20, by id), so the applier just wires the patcher. The template's componentType tag says SecurityRole and resolves to Role through the registry alias.

The sandbox run earned its keep - it showed the patcher calling the full workspace Write, which reformatted every sibling file it could reach and silently deleted the empty Relationships.xml. It now writes only the manifest via WriteSolutionManifest. Also taught the writer to indent the first children added to a previously empty container, so a fresh RootComponents doesn't come out as one long line.

Parity vs the old script: RootComponents byte-identical, the only remaining diff is xsi:nil tags collapsing back to the template's single-line form (the old script's XmlDocument.Save is what expanded them).

Stacked on the control-parameter applier branch; merge order stays the plan's.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant