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

As a user, I want to delete a certificate on a person profile view and on the certificate template certificates list view #439

Open
mpugach opened this issue Dec 11, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@mpugach
Copy link
Member

mpugach commented Dec 11, 2024

Scope

1. Add a new resource route for the certificates controller destroy action

2. Add the destroy action logic to the certificates controller

3. Add the controller tests

  • Not authenticated users can't delete the certificate
  • Not authorized users can't delete the certificate
  • Authorized users can delete the certificate

4. Extend the HelperMethods.all_activities to include the new role activity

5. Add delete actions to the person profile view and the certificate template certificates list view

Desired presentation

6. There should be a confirmation popup

7. Not authorized users should not see the delete action on the UI

@pavel-pasechnik pavel-pasechnik added this to the Certificates milestone Dec 19, 2024
@pavel-pasechnik pavel-pasechnik linked a pull request Dec 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment