implement listing notifications for a user with matching (#39942)

This commit is contained in:
Yassine Bounekhla
2024-05-15 19:26:58 +00:00
committed by GitHub
parent 265b58cb7e
commit f2c8833cea
21 changed files with 1448 additions and 1163 deletions
+9
View File
@@ -986,6 +986,15 @@ const (
PluginGenerationLabel = TeleportInternalLabelPrefix + "plugin-generation"
)
const (
// NotificationTitleLabel is the label which contains the title of the notification.
NotificationTitleLabel = TeleportInternalLabelPrefix + "title"
// NotificationClickedLabel is the label which contains whether the notification has been clicked on by the user.
NotificationClickedLabel = TeleportInternalLabelPrefix + "clicked"
// NotificationScope is the label which contains the scope of the notification, either "user" or "global"
NotificationScope = TeleportInternalLabelPrefix + "scope"
)
const (
// InstallMethodAWSOIDCDeployServiceEnvVar is the env var used to detect if the agent was installed
// using the DeployService action of the AWS OIDC integration.