Restrict edit function to certain project role

Description

I would like to restrict the "Administration" (edit) of metadata to a certain project role.
Per default, administrators of a project do have permission to edit metadata, which is fine.
But in or case, most of the users are administrators, because they need to be able to create versions.
I would like to be able to overwrite this permission, so that only a certain group can edit values.
This could be achieved by adding a key:
jira.metadata.projectRole.edit.tab.project="ProjectRole"
There is a risk of a deadlock situation, if no one is a member of this projectrole and also if this key is hidden and you dont know which value it got.
Therefore I would suggest to show this information either in the help text or next to the title of the tab: "this panel is managed by ProjectRole".
As said, if this key isn't set to any parameter, the default applies, which allows Administrators to modify it.

Environment

None

Status

Assignee

Former user

Reporter

Former user

Labels

None

Database

None

Effort

None

Fix versions

Affects versions

2.1.1

Priority

Critical
Configure