forked from rejetto/hfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
131 lines (131 loc) · 4.5 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
allowed_referer: x.com
vfs:
mime:
"*": auto
masks:
"!tests/page/*.png":
mime: text/plain
protectFromAbove/child/*.txt:
can_read: false
children:
- source: tests/alfa.txt
name: x%#x
- name: protectFromAbove
children:
- name: child
children:
- source: tests/alfa.txt
can_see: true
- name: renamed
source: tests/alfa.txt
- name: f1
children:
- name: f2
children:
- source: tests/alfa.txt
- name: pic
mime: png
source: tests/page/gpl.png
- name: page
source: tests/page
default: index.html
- name: for-admins
can_read:
- admins
can_list: can_read
can_see: can_read
children:
- name: upload
source: tests
can_upload:
- admins
can_delete:
- admins
- source: tests/alfa.txt
- name: for-disabled
can_list:
- disabled_account
- source: tests
- name: renameChild
children:
- source: tests
rename:
alfa.txt: renamed1
page/gpl.png: renamed2
- name: cantListBut
source: tests
can_list: false
masks:
"*":
can_list: true
- name: cantReadBut
source: tests
can_read: false
masks:
"*":
can_read: true
- name: cantReadButChild
source: tests
can_read: false
children:
- source: tests/alfa.txt
can_read:
- rejetto
- name: cantListPage
source: tests
masks:
page:
can_see: false
can_list: false
- name: cantListPageAlt
source: tests
masks:
page:
can_see: false
"**/*":
can_list: false
"**.png":
can_read:
- rejetto
- name: cantReadPage
source: tests
masks:
page|*.ts|*.yaml*:
can_read: false
can_list: false
- name: cantReadRealFolder
source: tests
can_read: false
can_list: false
- name: cantSeeThis
can_see: "*"
children:
- name: hi
- name: cantSeeThisButChildren
can_see:
this: false
children:
- name: hi
- name: cantSeeThisButChildrenMasks
can_see: false
masks:
"*":
can_see: true
children:
- name: hi
enable_plugins: []
accounts:
rejetto:
srp: 45342499289060118491953864985904491552469027660732372413642410068701508460756016883587538941326969234657513592151654348700271313826438668687753011476364050308196782081349845543793071133962680938833562613037542533901213868728748288160539083771680823003225050120746634361389984903020864743362165811690166921198|19774996369091767466773785425767419323692622801450813744779985314019896203670047564571162840176134630605183591917392609010436089360338159426706132364650486739033105760664596040271171468723867761859495433833673834714019039663575196623574481195253082005981473801748471685440578887877536727938980101106408640345112365050882261328175189757112413706886166283150089763450343918391537516887689512711278015984288024916578966075794729866664625833406939511948734410200472601790276163270442611968041929062065290928050153275322302258046366227185195993685890141067515020089439381701920633381138539731031195766277095966471034607906
belongs:
- admins
- disabled_account
of_disabled:
belongs:
- disabled_account
srp: 120804068635292437277659526629874168486493564624635377646330787993324029347643661070173511958514280976767927306751833743344847090685670483208190264705860902848531421420861927204883625771674418082140221216420339415820518698058241206651254261675616534491182986033693544092635419713292938817480339301130035142768|6390070233467830634736562883190487977343515956946496945249374625052474780962438110990674671048889570779960793274296584567905127170898293191856356572097228581183066941862764046917332873021156752168064068749102391176534012356053485735217052800610301632013415793338242451720832504147428409155945376375583183022415015336290830617108916724241486465509043174980735716739832823061125331466539384265398446680090973255616206398107827059604939857515439225687604138296426795701816020049847172782313576107757502401013344401388604328199230786618044783381875892970632930879062526080561936466730946652771701843119343086416435041725
disabled_account:
disabled: true
admins:
admin: true
version: 0.49.0-beta6