@trackunit/iris-app-api 2.4.21 → 2.4.24-alpha-7557f71cc7a.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/CHANGELOG.md +15 -0
- package/package.json +1 -1
- package/src/types/scopes.d.ts +12 -0
- package/src/types/scopes.js +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## 2.4.23 (2026-09-01)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **scopes:** resolve license, partner and connection scopes from account actions ([#308](https://github.com/Trackunit/manager/issues/308), [#1728](https://github.com/Trackunit/manager/issues/1728))
|
|
6
|
+
|
|
7
|
+
### ❤️ Thank You
|
|
8
|
+
|
|
9
|
+
- Claude Opus 5 (1M context)
|
|
10
|
+
- Kenneth Sejrsgaard-Jacobsen
|
|
11
|
+
|
|
12
|
+
## 2.4.22 (2026-08-31)
|
|
13
|
+
|
|
14
|
+
This was a version bump only for iris-app-api to align it with other projects, there were no code changes.
|
|
15
|
+
|
|
1
16
|
## 2.4.21 (2026-08-31)
|
|
2
17
|
|
|
3
18
|
This was a version bump only for iris-app-api to align it with other projects, there were no code changes.
|
package/package.json
CHANGED
package/src/types/scopes.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export declare const accountScope: {
|
|
|
15
15
|
readonly ACCOUNT_GROUP_MANAGE: "account.group.manage";
|
|
16
16
|
readonly ACCOUNT_GROUP_VIEW: "account.group.view";
|
|
17
17
|
readonly ACCOUNT_MANAGE: "account.manage";
|
|
18
|
+
readonly ACCOUNT_OPERATOR_VIEW: "account.operator.view";
|
|
18
19
|
readonly ACCOUNT_MARKETPLACE_APP_INSTALL: "account.marketplace.app.install";
|
|
19
20
|
readonly ACCOUNT_RENTAL_VIEW: "account.rental.view";
|
|
20
21
|
readonly ACCOUNT_SERVICE_MANAGEMENT_NETWORK_MANAGE: "account.service-management.network.manage";
|
|
@@ -55,6 +56,11 @@ export declare const accountScope: {
|
|
|
55
56
|
readonly ACCOUNT_SUPPORT_ACCESS_PRE_APPROVED: "account.support-access.pre-approved";
|
|
56
57
|
readonly ACCOUNT_SUPPORT_ACCESS_EXTENDED_PERIOD: "account.support-access.extended-period";
|
|
57
58
|
readonly ACCOUNT_CLASSIC_MANAGER_ACCESS: "account.classic-manager.access";
|
|
59
|
+
readonly LICENSE_VIEW: "license.view";
|
|
60
|
+
readonly PARTNER_VIEW: "partner.view";
|
|
61
|
+
readonly PARTNER_MANAGE: "partner.manage";
|
|
62
|
+
readonly CONNECTION_VIEW: "connection.view";
|
|
63
|
+
readonly CONNECTION_MANAGE: "connection.manage";
|
|
58
64
|
};
|
|
59
65
|
export type AccountScope = (typeof accountScope)[keyof typeof accountScope];
|
|
60
66
|
export declare const assetScope: {
|
|
@@ -85,6 +91,7 @@ export declare const allScopes: {
|
|
|
85
91
|
ACCOUNT_GROUP_MANAGE: "account.group.manage";
|
|
86
92
|
ACCOUNT_GROUP_VIEW: "account.group.view";
|
|
87
93
|
ACCOUNT_MANAGE: "account.manage";
|
|
94
|
+
ACCOUNT_OPERATOR_VIEW: "account.operator.view";
|
|
88
95
|
ACCOUNT_MARKETPLACE_APP_INSTALL: "account.marketplace.app.install";
|
|
89
96
|
ACCOUNT_RENTAL_VIEW: "account.rental.view";
|
|
90
97
|
ACCOUNT_SERVICE_MANAGEMENT_NETWORK_MANAGE: "account.service-management.network.manage";
|
|
@@ -125,4 +132,9 @@ export declare const allScopes: {
|
|
|
125
132
|
ACCOUNT_SUPPORT_ACCESS_PRE_APPROVED: "account.support-access.pre-approved";
|
|
126
133
|
ACCOUNT_SUPPORT_ACCESS_EXTENDED_PERIOD: "account.support-access.extended-period";
|
|
127
134
|
ACCOUNT_CLASSIC_MANAGER_ACCESS: "account.classic-manager.access";
|
|
135
|
+
LICENSE_VIEW: "license.view";
|
|
136
|
+
PARTNER_VIEW: "partner.view";
|
|
137
|
+
PARTNER_MANAGE: "partner.manage";
|
|
138
|
+
CONNECTION_VIEW: "connection.view";
|
|
139
|
+
CONNECTION_MANAGE: "connection.manage";
|
|
128
140
|
};
|
package/src/types/scopes.js
CHANGED
|
@@ -11,6 +11,10 @@
|
|
|
11
11
|
* table in
|
|
12
12
|
* `developers-trackunit-com/docs/apps-and-extensions/overview/iris-app-sdk-reference/app-manifest.md`.
|
|
13
13
|
*
|
|
14
|
+
* New scopes are registered unprefixed — `license.view`, not `account.license.view` — matching
|
|
15
|
+
* the Okta public scope naming convention. They resolve through `scopeActionRegistry` rather
|
|
16
|
+
* than the `account.`-prefixed TAS permission list.
|
|
17
|
+
*
|
|
14
18
|
* For more information see:
|
|
15
19
|
* https://trackunit.atlassian.net/wiki/spaces/EN/pages/4364599297/Adding+Permissions+to+TAS
|
|
16
20
|
*/
|
|
@@ -33,6 +37,7 @@ exports.accountScope = {
|
|
|
33
37
|
ACCOUNT_GROUP_MANAGE: "account.group.manage",
|
|
34
38
|
ACCOUNT_GROUP_VIEW: "account.group.view",
|
|
35
39
|
ACCOUNT_MANAGE: "account.manage",
|
|
40
|
+
ACCOUNT_OPERATOR_VIEW: "account.operator.view",
|
|
36
41
|
ACCOUNT_MARKETPLACE_APP_INSTALL: "account.marketplace.app.install",
|
|
37
42
|
ACCOUNT_RENTAL_VIEW: "account.rental.view",
|
|
38
43
|
ACCOUNT_SERVICE_MANAGEMENT_NETWORK_MANAGE: "account.service-management.network.manage",
|
|
@@ -73,6 +78,11 @@ exports.accountScope = {
|
|
|
73
78
|
ACCOUNT_SUPPORT_ACCESS_PRE_APPROVED: "account.support-access.pre-approved",
|
|
74
79
|
ACCOUNT_SUPPORT_ACCESS_EXTENDED_PERIOD: "account.support-access.extended-period",
|
|
75
80
|
ACCOUNT_CLASSIC_MANAGER_ACCESS: "account.classic-manager.access",
|
|
81
|
+
LICENSE_VIEW: "license.view",
|
|
82
|
+
PARTNER_VIEW: "partner.view",
|
|
83
|
+
PARTNER_MANAGE: "partner.manage",
|
|
84
|
+
CONNECTION_VIEW: "connection.view",
|
|
85
|
+
CONNECTION_MANAGE: "connection.manage",
|
|
76
86
|
};
|
|
77
87
|
exports.assetScope = {
|
|
78
88
|
ASSET_VIEW: "asset.view",
|