-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json
More file actions
101 lines (95 loc) · 2.6 KB
/
config.json
File metadata and controls
101 lines (95 loc) · 2.6 KB
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
{
"allowedIPs": [
"127.0.0.1",
"::1",
"192.168.1.*",
"192.168.8.*"
],
"groups": {
"admin": {
"label": "최고관리자",
"ips": ["127.0.0.1", "192.168.1.1"]
},
"team-dev": {
"label": "개발팀",
"ips": ["192.168.1.10-30"]
},
"team-design": {
"label": "디자인팀",
"ips": ["192.168.1.31-50"]
},
"guest": {
"label": "게스트",
"ips": ["192.168.8.*"]
}
},
"channels": [
{
"id": "general",
"type": "channel",
"label": "general",
"desc": "전체 공지 채널",
"access": "guest",
"_tip": "guest = allowedIPs 내 모든 사람"
},
{
"id": "dev",
"type": "channel",
"label": "dev",
"desc": "개발팀 채널",
"access": ["team-dev"]
},
{
"id": "design",
"type": "channel",
"label": "design",
"desc": "디자인팀 채널",
"access": ["team-design"]
},
{
"id": "dev-design",
"type": "channel",
"label": "dev+design",
"desc": "개발+디자인 공동 채널",
"access": ["team-dev", "team-design"],
"_tip": "배열로 지정하면 해당 그룹 중 하나 이상 소속이면 접근 가능"
},
{
"id": "admin-only",
"type": "channel",
"label": "admin",
"desc": "관리자 전용 채널",
"access": "admin",
"_tip": "admin 그룹만 접근 가능"
},
{
"id": "me",
"type": "dm",
"label": "나에게 메모",
"desc": "본인만 볼 수 있는 개인 채널",
"access": "private",
"_tip": "private = 모두 접근 가능하지만 본인 메시지만 조회"
}
],
"profiles": {
"127.0.0.1": {
"name": "localhost",
"avatar": null
}
},
"allowedReactions": ["⭕", "❌", "✅", "👍", "👎", "❤️", "😂", "🔥"],
"port": 3000,
"fileSizeLimitMB": 100,
"_tip_groups": {
"desc": "그룹 정의. admin 그룹은 모든 채널에 자동 접근.",
"ip_formats": "단일 IP, 와일드카드(192.168.*.*), 범위(192.168.1.10-30), 콤마목록(10.0.0.1,10.0.0.2)"
},
"_tip_allowedReactions": "리액션으로 사용할 이모지 목록. 이모지는 어떤 것이든 사용 가능합니다.",
"_tip_channels_access": {
"guest": "allowedIPs 내 모든 사용자",
"private": "모든 사용자 접근 가능, 단 본인 메시지만 표시 (개인 채널)",
"admin": "admin 그룹만 접근",
"grp-id": "해당 그룹 ID만 접근",
"array": "['grp-a','grp-b'] 배열 지정 시 해당 그룹 중 하나 이상이면 접근"
}
}