-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
75 lines (75 loc) · 1.99 KB
/
package.json
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
{
"name": "restriction",
"displayName": "后台访问限制插件",
"description": "SSCMS 后台访问限制插件能够设置后台访问IP地址黑名单以及白名单,增强CMS系统后台安全性",
"version": "1.2.1",
"license": "AGPL-3.0",
"publisher": "sscms",
"engines": {
"sscms": "^7.2.1"
},
"categories": [
"Other"
],
"keywords": [
"后台限制",
"IP限制"
],
"repository": {
"type": "git",
"url": "https://github.com/siteserver/sscms.restriction"
},
"icon": "/assets/restriction/logo.svg",
"output": "",
"main": "SSCMS.Restriction.dll",
"applyToSites": false,
"applyToChannels": false,
"extensions": {
"permissions": {
"restriction_settings": {
"text": "后台访问域名",
"type": ["app"]
},
"restriction_allow": {
"text": "IP地址白名单",
"type": ["app"]
},
"restriction_block": {
"text": "IP地址黑名单",
"type": ["app"]
}
},
"menus:app_plugins_all:menus": {
"restriction_all": {
"text": "后台访问限制",
"iconClass": "ion-unlocked",
"type": ["app"],
"permissions": [
"restriction_settings",
"restriction_allow",
"restriction_block"
],
"menus": {
"restriction_settings": {
"text": "后台访问域名",
"link": "/ss-admin/restriction/settings/",
"permissions": ["restriction_settings"],
"order": 1
},
"restriction_allow": {
"text": "IP地址白名单",
"link": "/ss-admin/restriction/range/?isAllowList=true",
"permissions": ["restriction_allow"],
"order": 2
},
"restriction_block": {
"text": "IP地址黑名单",
"link": "/ss-admin/restriction/range/?isAllowList=false",
"permissions": ["restriction_block"],
"order": 3
}
}
}
}
}
}