@steedos/service-core-objects 3.0.13-beta.45 → 3.0.13-beta.47
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.
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
name: OAuth2AccessTokens
|
|
2
|
+
icon: entity
|
|
3
|
+
label: OAuth2 Token
|
|
4
|
+
enable_search: false
|
|
5
|
+
hidden: true
|
|
6
|
+
fields:
|
|
7
|
+
userId:
|
|
8
|
+
label: User
|
|
9
|
+
type: lookup
|
|
10
|
+
reference_to: users
|
|
11
|
+
sortable: true
|
|
12
|
+
filterable: true
|
|
13
|
+
expires:
|
|
14
|
+
type: datetime
|
|
15
|
+
label: Expiration Time
|
|
16
|
+
clientId:
|
|
17
|
+
type: text
|
|
18
|
+
label: Client ID
|
|
19
|
+
omit: true
|
|
20
|
+
defaultValue: creator
|
|
21
|
+
accessToken:
|
|
22
|
+
type: text
|
|
23
|
+
label: Token
|
|
24
|
+
defaultValue: !<tag:yaml.org,2002:js/function> |-
|
|
25
|
+
function () {
|
|
26
|
+
return Random.id(38);
|
|
27
|
+
}
|
|
28
|
+
list_views:
|
|
29
|
+
all:
|
|
30
|
+
label: All OAuth2 Access Tokens
|
|
31
|
+
columns:
|
|
32
|
+
- userId
|
|
33
|
+
- expires
|
|
34
|
+
- accessToken
|
|
35
|
+
permission_set:
|
|
36
|
+
user:
|
|
37
|
+
allowCreate: false
|
|
38
|
+
allowDelete: false
|
|
39
|
+
allowEdit: false
|
|
40
|
+
allowRead: false
|
|
41
|
+
modifyAllRecords: false
|
|
42
|
+
viewAllRecords: false
|
|
43
|
+
admin:
|
|
44
|
+
allowCreate: true
|
|
45
|
+
allowDelete: true
|
|
46
|
+
allowEdit: true
|
|
47
|
+
allowRead: true
|
|
48
|
+
modifyAllRecords: true
|
|
49
|
+
viewAllRecords: true
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
name: OAuth2Clients
|
|
2
|
+
icon: entity
|
|
3
|
+
label: OAuth2 Client
|
|
4
|
+
hidden: true
|
|
5
|
+
enable_search: false
|
|
6
|
+
fields:
|
|
7
|
+
clientName:
|
|
8
|
+
type: text
|
|
9
|
+
label: Name
|
|
10
|
+
is_name: true
|
|
11
|
+
required: true
|
|
12
|
+
searchable: true
|
|
13
|
+
active:
|
|
14
|
+
type: boolean
|
|
15
|
+
label: Active
|
|
16
|
+
defaultValue: true
|
|
17
|
+
expires:
|
|
18
|
+
type: number
|
|
19
|
+
label: Term of Validity(HOUR)
|
|
20
|
+
defaultValue: '1'
|
|
21
|
+
redirectUri:
|
|
22
|
+
type: text
|
|
23
|
+
label: Callback URL
|
|
24
|
+
is_wide: true
|
|
25
|
+
required: true
|
|
26
|
+
clientId:
|
|
27
|
+
type: text
|
|
28
|
+
label: Client ID
|
|
29
|
+
is_wide: true
|
|
30
|
+
defaultValue: !<tag:yaml.org,2002:js/function> |-
|
|
31
|
+
function () {
|
|
32
|
+
return Random.id();
|
|
33
|
+
}
|
|
34
|
+
clientSecret:
|
|
35
|
+
type: text
|
|
36
|
+
label: Secret
|
|
37
|
+
is_wide: true
|
|
38
|
+
defaultValue: !<tag:yaml.org,2002:js/function> |-
|
|
39
|
+
function () {
|
|
40
|
+
return Random.secret();
|
|
41
|
+
}
|
|
42
|
+
list_views:
|
|
43
|
+
all:
|
|
44
|
+
label: All OAuth2 Clients
|
|
45
|
+
columns:
|
|
46
|
+
- clientName
|
|
47
|
+
- active
|
|
48
|
+
- redirectUri
|
|
49
|
+
permission_set:
|
|
50
|
+
user:
|
|
51
|
+
allowCreate: false
|
|
52
|
+
allowDelete: false
|
|
53
|
+
allowEdit: false
|
|
54
|
+
allowRead: false
|
|
55
|
+
modifyAllRecords: false
|
|
56
|
+
viewAllRecords: false
|
|
57
|
+
admin:
|
|
58
|
+
allowCreate: true
|
|
59
|
+
allowDelete: true
|
|
60
|
+
allowEdit: true
|
|
61
|
+
allowRead: true
|
|
62
|
+
modifyAllRecords: true
|
|
63
|
+
viewAllRecords: true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/service-core-objects",
|
|
3
|
-
"version": "3.0.13-beta.
|
|
3
|
+
"version": "3.0.13-beta.47",
|
|
4
4
|
"main": "package.service.js",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"steedos"
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@steedos/service-package-loader": "3.0.13-beta.
|
|
12
|
+
"@steedos/service-package-loader": "3.0.13-beta.47",
|
|
13
13
|
"bcryptjs": "^3.0.3",
|
|
14
14
|
"json2xls": "^0.1.2",
|
|
15
15
|
"lodash": "^4.17.21"
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
"description": "steedos package",
|
|
18
18
|
"repository": {},
|
|
19
19
|
"license": "MIT",
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "c62a9db2339e12cf5935c3fd24c5fe86e3a3c619"
|
|
21
21
|
}
|