@iveri/contracts 0.129.0 → 0.130.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/README.md
CHANGED
|
@@ -305,6 +305,8 @@ Conduit's outbox.
|
|
|
305
305
|
`localization:render` permissions.
|
|
306
306
|
- Version `0.100.0` adds `notification:send-any`, the password-reset bodies and Conduit's usage metrics.
|
|
307
307
|
- Version `0.101.0` adds `UsageHistory`, a company's closed months of a product by metric.
|
|
308
|
+
- Version `0.130.0` adds `profile:read-any`, so a product's operator-workspace key reads the public profile
|
|
309
|
+
of somebody in the company a request names.
|
|
308
310
|
- Version `0.128.0` adds `CommerceRefusal.ORDER_MOVED_ON` (`order-moved-on`), a stale order or shipment status change.
|
|
309
311
|
- Version `0.127.0` adds `UniboxRefusal` and `SocialRefusal.STORAGE_UNAVAILABLE` (`storage-unavailable`).
|
|
310
312
|
- Version `0.123.0` adds `HrRefusal`, the HR refusals a client says in the reader's language.
|
|
@@ -38,6 +38,12 @@ export declare enum UserPermission {
|
|
|
38
38
|
* permission at all — it is the subject of the presented token.
|
|
39
39
|
*/
|
|
40
40
|
PROFILE_READ = "profile:read",
|
|
41
|
+
/**
|
|
42
|
+
* Read the public profile of somebody in a company the request names in `tenantId`, rather than the token's own. A
|
|
43
|
+
* platform permission: held only by a service credential in Iveri's operator workspace, beside `profile:read`, so a
|
|
44
|
+
* product sold to many companies names each company's people in the conversations it opens for them.
|
|
45
|
+
*/
|
|
46
|
+
PROFILE_READ_ANY = "profile:read-any",
|
|
41
47
|
MEMBERSHIP_READ = "membership:read",
|
|
42
48
|
/** Suspend or reactivate someone's access without deleting their account. */
|
|
43
49
|
MEMBERSHIP_UPDATE = "membership:update",
|
|
@@ -43,6 +43,12 @@ export var UserPermission;
|
|
|
43
43
|
* permission at all — it is the subject of the presented token.
|
|
44
44
|
*/
|
|
45
45
|
UserPermission["PROFILE_READ"] = "profile:read";
|
|
46
|
+
/**
|
|
47
|
+
* Read the public profile of somebody in a company the request names in `tenantId`, rather than the token's own. A
|
|
48
|
+
* platform permission: held only by a service credential in Iveri's operator workspace, beside `profile:read`, so a
|
|
49
|
+
* product sold to many companies names each company's people in the conversations it opens for them.
|
|
50
|
+
*/
|
|
51
|
+
UserPermission["PROFILE_READ_ANY"] = "profile:read-any";
|
|
46
52
|
// ── Membership ──────────────────────────────────────────────────────────
|
|
47
53
|
UserPermission["MEMBERSHIP_READ"] = "membership:read";
|
|
48
54
|
/** Suspend or reactivate someone's access without deleting their account. */
|
|
@@ -767,6 +773,7 @@ export const PLATFORM_PERMISSIONS = Object.freeze([
|
|
|
767
773
|
UserPermission.BILLING_USAGE_READ_ANY,
|
|
768
774
|
UserPermission.NOTIFICATION_SEND_ANY,
|
|
769
775
|
UserPermission.CHAT_EMBED_MANAGE_ANY,
|
|
776
|
+
UserPermission.PROFILE_READ_ANY,
|
|
770
777
|
UserPermission.REALTIME_SUBSCRIPTION_GRANT_ISSUE_ANY,
|
|
771
778
|
UserPermission.REALTIME_EVENT_PUBLISH_ANY,
|
|
772
779
|
]);
|