# What happens if a user connects an EA repository to the infoportal and then migrates the database data?

[![question_mark_1.png](https://doc.eainfoport.cz/uploads/images/gallery/2022-03/scaled-1680-/question-mark-1.png)](https://doc.eainfoport.cz/uploads/images/gallery/2022-03/question-mark-1.png)

### Question

What happens if a user connects an EA repository to the infoportal and then migrates the database data?

- - - - - -

### Answer

The InfoPortal will not be able to properly evaluate its own permissions on packages.  
A new button has been added to repository editing that will reset all permission settings on packages and resolve the repository migration issue.