Skip to content

Commit

Permalink
better naming for setting and permission
Browse files Browse the repository at this point in the history
Signed-off-by: jkoberg <[email protected]>
  • Loading branch information
kobergj committed Apr 27, 2023
1 parent 8b7b8d0 commit c74556d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions services/settings/pkg/store/defaults/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ const (
// LanguageReadWriteName is the hardcoded setting name for the language read write permission
LanguageReadWriteName string = "language-readwrite"

// DisableEmailNotificationsPermissionID is the hardcoded setting UUID for the language read write permission
// DisableEmailNotificationsPermissionID is the hardcoded setting UUID for the disable email notifications permission
DisableEmailNotificationsPermissionID string = "ad5bb5e5-dc13-4cd3-9304-09a424564ea8"
// DisableEmailNotificationsPermissionName is the hardcoded setting name for the language read write permission
// DisableEmailNotificationsPermissionName is the hardcoded setting name for the disable email notifications permission
DisableEmailNotificationsPermissionName string = "disable-email-notifications"
// DisableEmailNotificationsPermissionDisplayName is the hardcoded setting name for the language read write permission
DisableEmailNotificationsPermissionDisplayName string = "Disable Email Notifications"
// DisableEmailNotificationsPermissionDisplayName is the hardcoded setting name for the disable email notifications permission
DisableEmailNotificationsPermissionDisplayName string = "EmailNotifications.ReadWriteDisabled"

// SetPersonalSpaceQuotaPermissionID is the hardcoded setting UUID for the set personal space quota permission
SetPersonalSpaceQuotaPermissionID string = "4e6f9709-f9e7-44f1-95d4-b762d27b7896"
Expand Down Expand Up @@ -674,7 +674,7 @@ func generateBundleProfileRequest() *settingsmsg.Bundle {
},
{
Id: SettingUUIDProfileDisableNotifications,
Name: "disable email notifications",
Name: "disable-email-notifications",
DisplayName: "Disable Email Notifications",
Description: "Disable email notifications",
Resource: &settingsmsg.Resource{
Expand Down

0 comments on commit c74556d

Please sign in to comment.