Content
View differences
Updated by Attila Dombi over 3 years ago
Add "date\_alert" to the `Authorization::EnterpriseService::GUARDED_ACTIONS`.
The following places should implement the new Guard:
* NotificationSettings should display the EE banner.
* Hide the sidebar "Date Alert" on the notifications page
* Guard the [`UserPreferences::ParamsContract`](https://github.com/opf/openproject/blob/dev/app/contracts/user_preferences/params_contract.rb)
* Guard the background job creating the date alert notifications in #43674 `Notification::REASONS`
The following places should implement the new Guard:
* NotificationSettings should display the EE banner.
* Hide the sidebar "Date Alert" on the notifications page
* Guard the [`UserPreferences::ParamsContract`](https://github.com/opf/openproject/blob/dev/app/contracts/user_preferences/params_contract.rb)
* Guard the background job creating the date alert notifications in #43674