# Assignment Repository and Repository permissions to a user in the portal

The portal administrator can assign repository and repository permissions to a user.

[![repositories repositories add.png](https://doc.eainfoport.cz/uploads/images/gallery/2022-05/scaled-1680-/repositories-repositories-add.png)](https://doc.eainfoport.cz/uploads/images/gallery/2022-05/repositories-repositories-add.png)

After clicking the "*Add*" button, the administrator is redirected to the table of the user to whom he wants to add the repository and repository permissions.

[![repositories repositories add1.png](https://doc.eainfoport.cz/uploads/images/gallery/2022-05/scaled-1680-/repositories-repositories-add1.png)](https://doc.eainfoport.cz/uploads/images/gallery/2022-05/repositories-repositories-add1.png)

After checking the checkbox, the administrator clicks the "*Add*" button, then the administrator will see the message "*Successfully added*".

[![repositories repositories add2.png](https://doc.eainfoport.cz/uploads/images/gallery/2022-05/scaled-1680-/repositories-repositories-add2.png)](https://doc.eainfoport.cz/uploads/images/gallery/2022-05/repositories-repositories-add2.png)

Once a repository is added, the portal administrator can assign the repository permissions "*Repository Administrator, Publication Access and Repository Tree Access*".

[![repositories repositories add3.png](https://doc.eainfoport.cz/uploads/images/gallery/2022-05/scaled-1680-/repositories-repositories-add3.png)](https://doc.eainfoport.cz/uploads/images/gallery/2022-05/repositories-repositories-add3.png)

After clicking on the checkbox, the message "*Successfully added*" is displayed.

[![repositories repositories add4.png](https://doc.eainfoport.cz/uploads/images/gallery/2022-05/scaled-1680-/repositories-repositories-add4.png)](https://doc.eainfoport.cz/uploads/images/gallery/2022-05/repositories-repositories-add4.png)

Clicking the "*Back*" button will display the "*User List*" with the added repository and the permissions in the repository.