craft your forge, build your project, grow your community freely
1---
2id: "de9a"
3priority: 90
4sprint: ""
5assignee: null
6status: triage
7kind: issue
8---
910# Be able to represent branches and so graft in web
1112Today a plugin is limited to a branch (or all with \*). It permits to not override webcontent in apex, if a user push an deletion of all issues.
1314But I want to be able to list branches and grafts in web.
1516A solution could be to limit what a plugin can touch in branch, for example:
1718- only if not in main -> don't run plugin on files which are presents in main
19- only in append -> can only append new things but not modify/delete what exist
2021222324Silo run on branchA and add a link to that in `board/branches.md` in branchA
25Apex render **only** `board/branches.md` from branchA but what if branchB?
2627282930I want to see all grafts, but only in append of all branches.
3132```yaml
33runOn:
34 - branch: ["main"]
35path: "**/*"36when: ["add", "mod", "del", "mv"]// or *
37write:
38git:
39 - path: "**/*"40can: ["*"]
41web:
42 - path: "**/*"//make it the default?
43can: ["*"]//make it the default?
44 - branch: ["*", "!main"]
45path: "grafts/**/*"46when: ["add", "mod"]
47write:
48git: []//no write //make it the default?
49web:
50 - path: "grafts/**/*"51can: ["create", "append"]
52```5354555657On the other side, it can be restricted in the users.yml.