Add managed Craft addons with secure installation and document editing

This commit is contained in:
SantaSpeen committed 2026-10-22 18:46:46 +03:00
1 parent 1afa755d4f
commit 5cb1b463ea
31 files changed
+2274 -15

No files matched your search

+3
View File
@@ -46,6 +46,9 @@ func (d *data) Check(path string) bool {
// Check, it ignores HideDotfiles: hiding dotfiles is a display preference, so
// it must not stop a user from operating on a tree that contains one.
func (d *data) CheckRules(path string) bool {
if addonPathDenied(d, path, false) {
return false
}
path = d.rulePath(path)
allow := true