Skip to content

Commit

Permalink
fix(cli): revert rbac in docs till supported in docs platform (#5020)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsinghvi authored Oct 28, 2024
1 parent 87c3585 commit de00ba3
Show file tree
Hide file tree
Showing 76 changed files with 822 additions and 1,497 deletions.
237 changes: 24 additions & 213 deletions docs-yml.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,6 @@
}
]
},
"roles": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/docs.RoleId"
}
},
{
"type": "null"
}
]
},
"tabs": {
"oneOf": [
{
Expand Down Expand Up @@ -271,6 +258,19 @@
}
]
},
"docs.AudiencesConfig": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"docs.GithubEditThisPageConfig": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -339,6 +339,16 @@
}
]
},
"audiences": {
"oneOf": [
{
"$ref": "#/definitions/docs.AudiencesConfig"
},
{
"type": "null"
}
]
},
"private": {
"oneOf": [
{
Expand Down Expand Up @@ -491,48 +501,12 @@
],
"additionalProperties": false
},
"docs.RoleId": {
"type": "string"
},
"docs.Role": {
"anyOf": [
{
"$ref": "#/definitions/docs.RoleId"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/docs.RoleId"
}
}
]
},
"docs.ChangelogFolderRelativePath": {
"type": "string"
},
"docs.TabConfig": {
"type": "object",
"properties": {
"viewers": {
"oneOf": [
{
"$ref": "#/definitions/docs.Role"
},
{
"type": "null"
}
]
},
"orphaned": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"display-name": {
"type": "string"
},
Expand Down Expand Up @@ -614,26 +588,6 @@
"docs.VersionConfig": {
"type": "object",
"properties": {
"viewers": {
"oneOf": [
{
"$ref": "#/definitions/docs.Role"
},
{
"type": "null"
}
]
},
"orphaned": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"display-name": {
"type": "string"
},
Expand Down Expand Up @@ -670,26 +624,6 @@
"docs.PageConfiguration": {
"type": "object",
"properties": {
"viewers": {
"oneOf": [
{
"$ref": "#/definitions/docs.Role"
},
{
"type": "null"
}
]
},
"orphaned": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"page": {
"type": "string"
},
Expand Down Expand Up @@ -736,26 +670,6 @@
"docs.SectionConfiguration": {
"type": "object",
"properties": {
"viewers": {
"oneOf": [
{
"$ref": "#/definitions/docs.Role"
},
{
"type": "null"
}
]
},
"orphaned": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"section": {
"type": "string"
},
Expand Down Expand Up @@ -832,9 +746,6 @@
],
"additionalProperties": false
},
"docs.AudienceId": {
"type": "string"
},
"docs.VersionedSnippetLanguageConfiguration": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -975,26 +886,6 @@
"docs.ApiReferencePackageConfigurationWithOptions": {
"type": "object",
"properties": {
"viewers": {
"oneOf": [
{
"$ref": "#/definitions/docs.Role"
},
{
"type": "null"
}
]
},
"orphaned": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"title": {
"oneOf": [
{
Expand Down Expand Up @@ -1097,26 +988,6 @@
"docs.ApiReferenceSectionConfiguration": {
"type": "object",
"properties": {
"viewers": {
"oneOf": [
{
"$ref": "#/definitions/docs.Role"
},
{
"type": "null"
}
]
},
"orphaned": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"section": {
"type": "string"
},
Expand Down Expand Up @@ -1215,26 +1086,6 @@
"docs.ApiReferenceEndpointConfiguration": {
"type": "object",
"properties": {
"viewers": {
"oneOf": [
{
"$ref": "#/definitions/docs.Role"
},
{
"type": "null"
}
]
},
"orphaned": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"endpoint": {
"type": "string"
},
Expand Down Expand Up @@ -1350,26 +1201,6 @@
"docs.ApiReferenceConfiguration": {
"type": "object",
"properties": {
"viewers": {
"oneOf": [
{
"$ref": "#/definitions/docs.Role"
},
{
"type": "null"
}
]
},
"orphaned": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"api": {
"type": "string"
},
Expand All @@ -1388,7 +1219,7 @@
{
"type": "array",
"items": {
"$ref": "#/definitions/docs.AudienceId"
"type": "string"
}
},
{
Expand Down Expand Up @@ -1528,26 +1359,6 @@
"docs.ChangelogConfiguration": {
"type": "object",
"properties": {
"viewers": {
"oneOf": [
{
"$ref": "#/definitions/docs.Role"
},
{
"type": "null"
}
]
},
"orphaned": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"changelog": {
"$ref": "#/definitions/docs.ChangelogFolderRelativePath"
},
Expand Down
Loading

0 comments on commit de00ba3

Please sign in to comment.