vitodeploy / vito

The Ultimate Server Management Tool
https://vitodeploy.com
GNU Affero General Public License v3.0
1.06k stars 166 forks source link

404 Error on deleting project #207

Closed maxcelos closed 4 months ago

maxcelos commented 4 months ago

Describe the bug After confirm on deleting project modal, it redirects to page settings/projects/delete/{id} that returns 404

To Reproduce Steps to reproduce the behavior:

  1. Go to Projects list
  2. Click on delete icon
  3. In the confirmation modal, click in Delete button
  4. See the error

Expected behavior Delete project and refresh the projects list

Screenshots n/a

Additional context Same error for current project or not

saeedvaziry commented 4 months ago

@maxcelos

saeedvaziry commented 4 months ago

I see the problem. The reason is your user (the admin one) doesn't have the project in his permissions. But it shouldn't be like that because it is an admin.

Next PR will fix the issue