Make the ability to edit topic names a grantable permission
Currently any user who can upload patchsets on a change is able to
edit the change's topic name.
This is a bit too permissive. Many companies allow all developers to
upload changes on any project, but they may not necessarily want them
all to be able to edit topic names.
Add a new permission that can be granted to allow users to edit topic
names. Make the edit dialog only available to users who explicitly
have the permission, the project owners, the branch owner, and site
administrators.
Change-Id: Ife02370c664b2d206d731a495988a06d3123c54d
10 files changed