Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IS-7.1 Migration] Add New System Scopes for Notification/ Email Template Management APIs #21980

Open
dhaura opened this issue Dec 9, 2024 · 0 comments

Comments

@dhaura
Copy link
Contributor

dhaura commented Dec 9, 2024

Document issue type

Type/Task (Operational or administrative tasks related to the documentation)

Description

Description

  • The following scopes are introduced in Notification and Email template management APIs in order to enable child org overriding capabilities in notification templates.
    • Email v1/ v2 API
      • POST /o/api/server/v(.*)/email/template-types - internal_org_email_mgt_create
      • PUT /o/api/server/v(.*)/email/template-types - internal_org_email_mgt_update
      • DELETE /o/api/server/v(.*)/email/template-types - internal_org_email_mgt_delete
    • Notification API
      • POST /o/api/server/v(.*)/notification/(?:email|sms)/template-type - internal_org_template_mgt_create
      • PUT /o/api/server/v(.*)/notification/(?:email|sms)/template-type - internal_org_template_mgt_update
      • DELETE /o/api/server/v(.*)/notification/(?:email|sms)/template-type - internal_org_template_mgt_delete
  • Due to the current limitations when reading and persisting new scopes to the DB, the users who are migrating to IS 7.1 should add the below configuration to the deployment.toml file.
[[api_resources]]
name = "Email Template Management API v1/v2"
identifier = "/o/api/server/v(.*)/email/template-types"
requiresAuthorization = true
description = "API representation of the Email Template Management API"
type = "ORGANIZATION"

[[api_resources.scopes]]
displayName = "View Email Template"
name = "internal_org_email_mgt_view"
description = "View email templates and types in the organization"

[[api_resources.scopes]]
displayName = "Create Email Template"
name = "internal_org_email_mgt_create"
description = "Create email templates and types in the organization"

[[api_resources.scopes]]
displayName = "Update Email Template"
name = "internal_org_email_mgt_update"
description = "Update email templates and types in the organization"

[[api_resources.scopes]]
displayName = "Delete Email Template"
name = "internal_org_email_mgt_delete"
description = "Delete email templates and types in the organization"
[[api_resources]]
name = "Notification Template Management API"
identifier = "/o/api/server/v(.*)/notification/(?:email|sms)/template-types"
requiresAuthorization = true
description = "API representation of the Notification Template Management API"
type = "ORGANIZATION"

[[api_resources.scopes]]
displayName = "View Notification Template"
name = "internal_org_template_mgt_view"
description = "View notification templates and types in the organization"

[[api_resources.scopes]]
displayName = "Create Notification Template"
name = "internal_org_template_mgt_create"
description = "Create notification templates and types in the organization"

[[api_resources.scopes]]
displayName = "Update Notification Template"
name = "internal_org_template_mgt_update"
description = "Update notification templates and types in the organization"

[[api_resources.scopes]]
displayName = "Delete Notification Template"
name = "internal_org_template_mgt_delete"
description = "Delete notification templates and types in the organization"

Related Issues

Related PRs

Version

7.1.0-m6-SNAPSHOT

@dhaura dhaura changed the title Add New System Scopes for Notification/ Email Template Management APIs [IS-7.1 Migration] Add New System Scopes for Notification/ Email Template Management APIs Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant