Repo settings: Can't change user permissions at specific branch

Issue #15840 resolved
Oleg Kalyta
created an issue

bitbucket issue.PNG

Steps to reproduce: 1. Open any Repo -> Settings -> Branch Permissions 2. Click on pencil icon for any existing branch settings

Modal window will be opened with console errors and EMPTY users list (it is not empty for that branch)