Skip to content

Conversation

@krauselukas
Copy link
Contributor

@krauselukas krauselukas commented Dec 10, 2025

We keep showing the appeal button on the notification even the user already created an appeal. On the model level we already have a validation to ensure the uniqueness of the appeal on the appellant.

image

The policy is used here

- if @notification.notifiable_type == 'Decision' && AppealPolicy.new(@notification.subscriber,
to decide if we should show the button or not.

[DRAFT]: Fix specs

We keep showing the appeal button on the notification even the user
already created an appeal. On the model level we already have a
validation to ensure the uniqueness of the appeal on the appelant.
@krauselukas krauselukas added the Frontend Things related to the OBS RoR app label Dec 10, 2025
@krauselukas
Copy link
Contributor Author

@krauselukas krauselukas marked this pull request as draft December 10, 2025 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Frontend Things related to the OBS RoR app

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant