Merge branch 'stable-3.0' into stable-3.1
* stable-3.0: Add "readOnly"-endpoint parameter to repo-config endpoint Change-Id: I535b5a9b74a4244b5c70fb35e58469aaf8fa0fb7
This commit is contained in:
@@ -114,6 +114,10 @@ In addition to default parameters, the following are available:
|
||||
+
|
||||
String name of the repository currently being configured.
|
||||
|
||||
* `readOnly`
|
||||
+
|
||||
Boolean whether the repository configuration is read only by the logged in user.
|
||||
|
||||
=== settings-menu-item
|
||||
This endpoint is situated at the end of the navigation menu in the settings
|
||||
screen.
|
||||
|
@@ -368,6 +368,7 @@ limitations under the License.
|
||||
</fieldset>
|
||||
<gr-endpoint-decorator name="repo-config">
|
||||
<gr-endpoint-param name="repoName" value="[[repo]]"></gr-endpoint-param>
|
||||
<gr-endpoint-param name="readOnly" value="[[_readOnly]]"></gr-endpoint-param>
|
||||
</gr-endpoint-decorator>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user