Merge branch 'stable-2.16' into stable-3.0
* stable-2.16: Add "readOnly"-endpoint parameter to repo-config endpoint Change-Id: I73c1912b1a927252372b8b30b18b58c145c0be9a
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.
 | 
			
		||||
 
 | 
			
		||||
@@ -361,6 +361,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