pmcf 6.12.0 → 6.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/services/bind.mjs +7 -3
package/package.json
CHANGED
package/src/services/bind.mjs
CHANGED
|
@@ -166,6 +166,10 @@ class bind_group extends Base {
|
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
async packageContent(outputControl) {
|
|
169
|
+
outputControl.packageData.sources.push(
|
|
170
|
+
...(await Array.fromAsync(this.templateContent(...outputControl.permissions)))
|
|
171
|
+
);
|
|
172
|
+
|
|
169
173
|
return (
|
|
170
174
|
await Promise.all([
|
|
171
175
|
this.generateACLs(outputControl),
|
|
@@ -552,7 +556,7 @@ export class bind extends ExtraSourceService {
|
|
|
552
556
|
new FileContentProvider(dir + "/", ...permissions)
|
|
553
557
|
);
|
|
554
558
|
|
|
555
|
-
const outputControl = newOutputControl(packageData, dir);
|
|
559
|
+
const outputControl = newOutputControl(packageData, dir, permissions);
|
|
556
560
|
|
|
557
561
|
for (const group of this.groups.values()) {
|
|
558
562
|
const present = await group.packageContent(outputControl);
|
|
@@ -638,6 +642,6 @@ export class bind extends ExtraSourceService {
|
|
|
638
642
|
}
|
|
639
643
|
}
|
|
640
644
|
|
|
641
|
-
function newOutputControl(packageData, dir) {
|
|
642
|
-
return { configs: [], catalogs: new Map(), packageData, dir };
|
|
645
|
+
function newOutputControl(packageData, dir, permissions) {
|
|
646
|
+
return { configs: [], catalogs: new Map(), packageData, dir, permissions};
|
|
643
647
|
}
|