Reset permissions for a project

Is there a way to reset the permissions of a specific project

A project was import on a server with View and Delete permissions set in a way that we can't open or delete the project anymore.

It is not a big issue as we can export the project, and import in a new one, and delete the project from the server folder

Question is: Is there a better way to reset the permissions on a project than creating a new one?

Create a user with all the roles, as the project properties require one role to be selected atleast
https://docs.inductiveautomation.com/display/DOC81/Managing+Users+and+Roles
https://docs.inductiveautomation.com/display/DOC81/Project+Properties#ProjectProperties-PermissionsProperties

Roles come from our IdP (Okta), and are specific by server, so roles are not the same, and I can't have the required roles.

Was more wondering if there is a project file containing those permissions we can delete, or is it in IDB file

You could delete the global-props resource folder, but it wipes more than just the project permissions - you'd have to set up the default database and stuff like that again.