forked from folio-org/ui-users
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
243 lines (243 loc) · 7.25 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
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
{
"name": "@folio/users",
"version": "2.12.0",
"description": "User management",
"repository": "folio-org/ui-users",
"publishConfig": {
"registry": "https://repository.folio.org/repository/npm-folio/"
},
"license": "Apache-2.0",
"engines": {
"node": ">=6.0.0"
},
"main": "index.js",
"stripes": {
"type": "app",
"displayName": "Users",
"route": "/users",
"home": "/users?filters=active.Active&sort=Name",
"hasSettings": true,
"queryResource": "query",
"actionNames": [
"stripesHome",
"usersSortByName"
],
"icons": [
{
"name": "app",
"alt": "Create, view and manage users",
"title": "Users"
}
],
"okapiInterfaces": {
"users": "14.0",
"circulation": "2.1",
"permissions": "5.0",
"loan-storage": "3.1",
"login": "4.0"
},
"permissionSets": [
{
"permissionName": "module.users.enabled",
"displayName": "UI: Users module is enabled"
},
{
"permissionName": "ui-users.view",
"displayName": "Users: Can view user profile",
"description": "Some subperms can be deleted later when submodules use modern permission names",
"subPermissions": [
"module.users.enabled",
"users-bl.collection.get",
"users-bl.item.get",
"addresstypes.collection.get",
"users.collection.get",
"users.item.get",
"usergroups.collection.get",
"login.item.get"
],
"visible": true
},
{
"permissionName": "ui-users.edit",
"displayName": "Users: Can edit user profile",
"description": "Some subperms can be deleted later when bl does updates and ModulePermissions can be used",
"subPermissions": [
"ui-users.view",
"users-bl.item.put",
"users.item.put",
"login.item.put"
],
"visible": true
},
{
"permissionName": "ui-users.create",
"displayName": "Users: Can create new user",
"description": "Some subperms can be deleted later when bl does updates and ModulePermissions can be used",
"subPermissions": [
"ui-users.edit",
"users-bl.item.post",
"users.item.post",
"perms.users.item.post",
"login.item.post"
],
"visible": true
},
{
"permissionName": "ui-users.viewperms",
"displayName": "Users: Can view permissions assigned to users",
"description": "Includes all of view",
"subPermissions": [
"ui-users.view",
"perms.users.get"
],
"visible": true
},
{
"permissionName": "ui-users.editperms",
"displayName": "Users: Can assign and unassign permissions to users",
"description": "",
"subPermissions": [
"ui-users.viewperms",
"perms.users.item.put",
"perms.users.item.post",
"perms.users.item.delete"
],
"visible": true
},
{
"permissionName": "ui-users.settings.permsets",
"displayName": "Settings (Users): Can create, edit and remove permission sets",
"description": "",
"subPermissions": [
"perms.permissions.get",
"perms.permissions.item.put",
"perms.permissions.item.post",
"perms.permissions.item.delete",
"settings.users.enabled"
],
"visible": true
},
{
"permissionName": "ui-users.editpermsets",
"displayName": "Settings (Users): Can create, edit and remove permission sets [LEGACY]",
"description": "",
"subPermissions": [
"ui-users.settings.permsets"
],
"visible": true
},
{
"permissionName": "ui-users.settings.usergroups",
"displayName": "Settings (Users): Can create, edit and remove patron groups",
"subPermissions": [
"usergroups.collection.get",
"usergroups.item.delete",
"usergroups.item.get",
"usergroups.item.post",
"usergroups.item.put",
"settings.users.enabled"
],
"visible": true
},
{
"permissionName": "settings.usergroups.all",
"displayName": "Settings (Users): Can create, edit and remove patron groups [LEGACY]",
"subPermissions": [
"ui-users.settings.usergroups"
]
},
{
"permissionName": "ui-users.settings.addresstypes",
"displayName": "Settings (Users): Can create, edit and remove address types",
"subPermissions": [
"addresstypes.collection.get",
"addresstypes.item.get",
"addresstypes.item.post",
"addresstypes.item.put",
"addresstypes.item.delete",
"settings.users.enabled"
],
"visible": true
},
{
"permissionName": "settings.addresstypes.all",
"displayName": "Settings (Users): Can create, edit and remove address types [LEGACY]",
"subPermissions": [
"ui-users.settings.addresstypes"
]
},
{
"permissionName": "settings.users.enabled",
"displayName": "Settings (Users): display list of settings pages",
"subPermissions": [
"settings.enabled"
],
"visible": true
},
{
"permissionName": "ui-users.viewproxies",
"displayName": "Users: Can view proxies assigned to users",
"subPermissions": [
"ui-users.view",
"proxiesfor.collection.get"
],
"visible": true
},
{
"permissionName": "ui-users.editproxies",
"displayName": "Users: Can create, edit and removed proxies",
"description": "",
"subPermissions": [
"ui-users.viewproxies",
"proxiesfor.item.get",
"proxiesfor.item.post",
"proxiesfor.item.put",
"proxiesfor.item.delete"
],
"visible": true
}
]
},
"scripts": {
"lint": "eslint .",
"test": "(cd ../ui-testing; yarn test-module -- -o --run=users --host=localhost)",
"prepublishOnly": "node ../stripes-core/util/package2md.js package.json > ModuleDescriptor.json"
},
"devDependencies": {
"babel-core": "^6.17.0",
"babel-eslint": "^7.0.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.16.0",
"babel-preset-stage-0": "^6.16.0",
"babel-register": "^6.18.0",
"eslint": "^4.8.0",
"@folio/eslint-config-stripes": "^1.1.0"
},
"dependencies": {
"@folio/stripes-components": "^2.0.0",
"@folio/stripes-form": "^0.8.2",
"@folio/stripes-smart-components": "^1.4.0",
"classnames": "^2.2.5",
"hashcode": "^1.0.3",
"lodash": "^4.17.4",
"prop-types": "^15.5.10",
"query-string": "^5.0.0",
"react-bootstrap": "^0.31.1",
"react-bootstrap-typeahead": "^1.4.0",
"react-flexbox-grid": "^2.0.0",
"react-intl": "^2.3.0",
"react-router": "^4.2.0",
"react-router-dom": "^4.0.0",
"redux-form": "^7.0.3",
"uuid": "^3.0.1"
},
"peerDependencies": {
"@folio/stripes-connect": "^3.0.0",
"@folio/stripes-core": "^2.9.0",
"@folio/stripes-logger": "^0.0.2",
"react": "*"
},
"optionalDependencies": {
"@folio/plugin-find-user": "^1.1.0"
}
}