@webiny/app-security-access-management 5.22.0-beta.0 → 5.22.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/app-security-access-management",
3
- "version": "5.22.0-beta.0",
3
+ "version": "5.22.0",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,14 +15,14 @@
15
15
  "dependencies": {
16
16
  "@apollo/react-hooks": "3.1.5",
17
17
  "@emotion/styled": "10.3.0",
18
- "@webiny/app": "5.22.0-beta.0",
19
- "@webiny/app-admin": "5.22.0-beta.0",
20
- "@webiny/app-security": "5.22.0-beta.0",
21
- "@webiny/form": "5.22.0-beta.0",
22
- "@webiny/plugins": "5.22.0-beta.0",
23
- "@webiny/react-router": "5.22.0-beta.0",
24
- "@webiny/ui": "5.22.0-beta.0",
25
- "@webiny/validation": "5.22.0-beta.0",
18
+ "@webiny/app": "5.22.0",
19
+ "@webiny/app-admin": "5.22.0",
20
+ "@webiny/app-security": "5.22.0",
21
+ "@webiny/form": "5.22.0",
22
+ "@webiny/plugins": "5.22.0",
23
+ "@webiny/react-router": "5.22.0",
24
+ "@webiny/ui": "5.22.0",
25
+ "@webiny/validation": "5.22.0",
26
26
  "emotion": "10.0.27",
27
27
  "graphql-tag": "2.12.6",
28
28
  "lodash": "4.17.21",
@@ -37,8 +37,8 @@
37
37
  "@babel/preset-env": "^7.16.4",
38
38
  "@babel/preset-react": "^7.16.0",
39
39
  "@babel/preset-typescript": "^7.16.0",
40
- "@webiny/cli": "^5.22.0-beta.0",
41
- "@webiny/project-utils": "^5.22.0-beta.0",
40
+ "@webiny/cli": "^5.22.0",
41
+ "@webiny/project-utils": "^5.22.0",
42
42
  "babel-plugin-emotion": "^9.2.8",
43
43
  "babel-plugin-lodash": "^3.3.4",
44
44
  "rimraf": "^3.0.2",
@@ -60,5 +60,5 @@
60
60
  ]
61
61
  }
62
62
  },
63
- "gitHead": "487330472a07000c4845340f3b3dfa6b3ae98944"
63
+ "gitHead": "ab2ca1af058fdec3aa1bed3f30afd51f4592dbb6"
64
64
  }
@@ -197,7 +197,7 @@ var GroupsDataList = function GroupsDataList() {
197
197
  onClick: function onClick() {
198
198
  return history.push("/access-management/groups?id=".concat(item.id));
199
199
  }
200
- }, item.name, /*#__PURE__*/React.createElement(ListItemTextSecondary, null, item.description)), /*#__PURE__*/React.createElement(ListItemMeta, null, /*#__PURE__*/React.createElement(ListActions, null, item.slug !== "full-access" ? /*#__PURE__*/React.createElement(DeleteIcon, {
200
+ }, item.name, /*#__PURE__*/React.createElement(ListItemTextSecondary, null, item.description)), /*#__PURE__*/React.createElement(ListItemMeta, null, /*#__PURE__*/React.createElement(ListActions, null, !item.system ? /*#__PURE__*/React.createElement(DeleteIcon, {
201
201
  onClick: function onClick() {
202
202
  return deleteItem(item);
203
203
  },
@@ -3,8 +3,8 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
3
3
  var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
4
4
 
5
5
  import gql from "graphql-tag";
6
- var fields = "\n id\n name\n slug\n description\n permissions\n createdOn\n";
7
- export var LIST_GROUPS = gql(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n query listGroups {\n security {\n groups: listGroups {\n data {\n id\n slug\n name\n description\n createdOn\n }\n }\n }\n }\n"])));
6
+ var fields = "\n id\n name\n slug\n description\n permissions\n system\n createdOn\n";
7
+ export var LIST_GROUPS = gql(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n query listGroups {\n security {\n groups: listGroups {\n data {\n ", "\n }\n }\n }\n }\n"])), fields);
8
8
  export var READ_GROUP = gql(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n query getGroup($id: ID!) {\n security {\n group: getGroup(where: { id: $id }){\n data {\n ", "\n }\n error {\n code\n message\n }\n }\n }\n }\n"])), fields);
9
9
  export var CREATE_GROUP = gql(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n mutation createGroup($data: SecurityGroupCreateInput!){\n security {\n group: createGroup(data: $data) {\n data {\n ", "\n }\n error {\n code\n message\n data\n }\n }\n }\n }\n"])), fields);
10
10
  export var UPDATE_GROUP = gql(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n mutation updateGroup($id: ID!, $data: SecurityGroupUpdateInput!){\n security {\n group: updateGroup(id: $id, data: $data) {\n data {\n ", "\n }\n error {\n code\n message\n data\n }\n }\n }\n }\n"])), fields);