[FEATURE] Migrate user rights

Implements [ticket 1987](https://www.openproject.org/issues/1987)

:exclamation: This PR contains #441