parse-dashboard 5.2.0-beta.1 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -25,8 +25,18 @@ object-assign
|
|
|
25
25
|
* Released under the MIT License.
|
|
26
26
|
*/
|
|
27
27
|
|
|
28
|
+
/*! jssha v3.2.0 | (c) Brian Turek <brian.turek@gmail.com> | BSD-3-Clause | https://github.com/Caligatio/jsSHA */
|
|
29
|
+
|
|
30
|
+
/*! otpauth v8.0.3 | (c) Héctor Molinero Fernández <hector@molinero.dev> | MIT | https://github.com/hectorm/otpauth */
|
|
31
|
+
|
|
28
32
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
29
33
|
|
|
34
|
+
/**
|
|
35
|
+
* @license bcrypt.js (c) 2013 Daniel Wirtz <dcode@dcode.io>
|
|
36
|
+
* Released under the Apache License, Version 2.0
|
|
37
|
+
* see: https://github.com/dcodeIO/bcrypt.js for details
|
|
38
|
+
*/
|
|
39
|
+
|
|
30
40
|
/**
|
|
31
41
|
* @remix-run/router v1.0.1
|
|
32
42
|
*
|
package/README.md
CHANGED
|
@@ -329,13 +329,39 @@ If you have classes with a lot of columns and you filter them often with the sam
|
|
|
329
329
|
{
|
|
330
330
|
"name": "email",
|
|
331
331
|
"filterSortToTop": true
|
|
332
|
-
}
|
|
332
|
+
}
|
|
333
333
|
]
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
]
|
|
337
337
|
```
|
|
338
338
|
|
|
339
|
+
### Persistent Filters
|
|
340
|
+
|
|
341
|
+
The filters you save in the data browser of Parse Dashboard are only available for the current dashboard user in the current browser session. To make filters permanently available for all dashboard users of an app, you can define filters in the `classPreference` setting.
|
|
342
|
+
|
|
343
|
+
For example:
|
|
344
|
+
|
|
345
|
+
```json
|
|
346
|
+
"apps": [{
|
|
347
|
+
"classPreference": {
|
|
348
|
+
"_Role": {
|
|
349
|
+
"filters": [{
|
|
350
|
+
"name": "Filter Name",
|
|
351
|
+
"filter": [
|
|
352
|
+
{
|
|
353
|
+
"field": "objectId",
|
|
354
|
+
"constraint": "exists"
|
|
355
|
+
}
|
|
356
|
+
]
|
|
357
|
+
}]
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}]
|
|
361
|
+
```
|
|
362
|
+
|
|
363
|
+
You can conveniently create a filter definition without having to write it by hand by first saving a filter in the data browser, then exporting the filter definition under *App Settings > Export Class Preferences*.
|
|
364
|
+
|
|
339
365
|
# Running as Express Middleware
|
|
340
366
|
|
|
341
367
|
Instead of starting Parse Dashboard with the CLI, you can also run it as an [express](https://github.com/expressjs/express) middleware.
|
|
@@ -452,8 +478,7 @@ With MFA enabled, a user must provide a one-time password that is typically boun
|
|
|
452
478
|
|
|
453
479
|
The user requires an authenticator app to generate the one-time password. These apps are provided by many 3rd parties and mostly for free.
|
|
454
480
|
|
|
455
|
-
If you create a new user by running `parse-dashboard --createUser`, you will be asked whether you want to enable MFA for the new user. To enable MFA for an existing user,
|
|
456
|
-
run `parse-dashboard --createMFA` to generate a `mfa` secret that you then add to the existing user configuration, for example:
|
|
481
|
+
If you create a new user by running `parse-dashboard --createUser`, you will be asked whether you want to enable MFA for the new user. To enable MFA for an existing user, run `parse-dashboard --createMFA` to generate a `mfa` secret that you then add to the existing user configuration, for example:
|
|
457
482
|
|
|
458
483
|
```json
|
|
459
484
|
{
|