@trackunit/iris-app-api 2.4.22 → 2.4.24
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 +10 -0
- package/src/types/scopes.js +9 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## 2.4.24 (2026-09-01)
|
|
2
|
+
|
|
3
|
+
This was a version bump only for iris-app-api to align it with other projects, there were no code changes.
|
|
4
|
+
|
|
5
|
+
## 2.4.23 (2026-09-01)
|
|
6
|
+
|
|
7
|
+
### 🚀 Features
|
|
8
|
+
|
|
9
|
+
- **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))
|
|
10
|
+
|
|
11
|
+
### ❤️ Thank You
|
|
12
|
+
|
|
13
|
+
- Claude Opus 5 (1M context)
|
|
14
|
+
- Kenneth Sejrsgaard-Jacobsen
|
|
15
|
+
|
|
1
16
|
## 2.4.22 (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
|
@@ -56,6 +56,11 @@ export declare const accountScope: {
|
|
|
56
56
|
readonly ACCOUNT_SUPPORT_ACCESS_PRE_APPROVED: "account.support-access.pre-approved";
|
|
57
57
|
readonly ACCOUNT_SUPPORT_ACCESS_EXTENDED_PERIOD: "account.support-access.extended-period";
|
|
58
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";
|
|
59
64
|
};
|
|
60
65
|
export type AccountScope = (typeof accountScope)[keyof typeof accountScope];
|
|
61
66
|
export declare const assetScope: {
|
|
@@ -127,4 +132,9 @@ export declare const allScopes: {
|
|
|
127
132
|
ACCOUNT_SUPPORT_ACCESS_PRE_APPROVED: "account.support-access.pre-approved";
|
|
128
133
|
ACCOUNT_SUPPORT_ACCESS_EXTENDED_PERIOD: "account.support-access.extended-period";
|
|
129
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";
|
|
130
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
|
*/
|
|
@@ -74,6 +78,11 @@ exports.accountScope = {
|
|
|
74
78
|
ACCOUNT_SUPPORT_ACCESS_PRE_APPROVED: "account.support-access.pre-approved",
|
|
75
79
|
ACCOUNT_SUPPORT_ACCESS_EXTENDED_PERIOD: "account.support-access.extended-period",
|
|
76
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",
|
|
77
86
|
};
|
|
78
87
|
exports.assetScope = {
|
|
79
88
|
ASSET_VIEW: "asset.view",
|