@strapi/plugin-users-permissions 0.0.0-next.c58b405b44c71a93df733024d1f15c069cb6bdca → 0.0.0-next.dff425769af4d4d006725a10c395f59637403653
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Switch, Route } from 'react-router-dom';
|
|
3
|
-
import { CheckPagePermissions,
|
|
3
|
+
import { CheckPagePermissions, AnErrorOccurred } from '@strapi/helper-plugin';
|
|
4
4
|
import pluginId from '../../pluginId';
|
|
5
5
|
import pluginPermissions from '../../permissions';
|
|
6
6
|
import ProtectedRolesListPage from './ProtectedListPage';
|
|
@@ -18,7 +18,7 @@ const Roles = () => {
|
|
|
18
18
|
/>
|
|
19
19
|
<Route path={`/settings/${pluginId}/roles/:id`} component={ProtectedRolesEditPage} exact />
|
|
20
20
|
<Route path={`/settings/${pluginId}/roles`} component={ProtectedRolesListPage} exact />
|
|
21
|
-
<Route path="" component={
|
|
21
|
+
<Route path="" component={AnErrorOccurred} />
|
|
22
22
|
</Switch>
|
|
23
23
|
</CheckPagePermissions>
|
|
24
24
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/plugin-users-permissions",
|
|
3
|
-
"version": "0.0.0-next.
|
|
3
|
+
"version": "0.0.0-next.dff425769af4d4d006725a10c395f59637403653",
|
|
4
4
|
"description": "Protect your API with a full-authentication process based on JWT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@strapi/design-system": "1.6.6",
|
|
33
|
-
"@strapi/helper-plugin": "0.0.0-next.
|
|
33
|
+
"@strapi/helper-plugin": "0.0.0-next.dff425769af4d4d006725a10c395f59637403653",
|
|
34
34
|
"@strapi/icons": "1.6.6",
|
|
35
|
-
"@strapi/utils": "0.0.0-next.
|
|
35
|
+
"@strapi/utils": "0.0.0-next.dff425769af4d4d006725a10c395f59637403653",
|
|
36
36
|
"bcryptjs": "2.4.3",
|
|
37
37
|
"formik": "2.2.9",
|
|
38
38
|
"grant-koa": "5.4.8",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"react": "^17.0.2",
|
|
69
69
|
"react-dom": "^17.0.2",
|
|
70
|
-
"react-router-dom": "5.3.4",
|
|
71
|
-
"styled-components": "5.3.3"
|
|
70
|
+
"react-router-dom": "^5.3.4",
|
|
71
|
+
"styled-components": "^5.3.3"
|
|
72
72
|
},
|
|
73
73
|
"engines": {
|
|
74
74
|
"node": ">=14.19.1 <=18.x.x",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"required": true,
|
|
82
82
|
"kind": "plugin"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "dff425769af4d4d006725a10c395f59637403653"
|
|
85
85
|
}
|