Add managed Craft addons with secure installation and document editing
This commit is contained in:
1 parent
1afa755d4f
commit
5cb1b463ea
31 files changed
+2274
-15
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user