Add permissions to redirected urls
Merge branch 'add-permissions' into develop