Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/create-security-roles-by-role-id-permissions.api.mdx
Claude Code cbcfd9599f docs: cut 6.1.0 versions for docs, admin_docs, developer_docs, components
Snapshots all four versioned Docusaurus sections at v6.1.0. Built on
top of the version-cutting tooling work in chore/docs-cut-6.1.0-versions
so the snapshot benefits from:

- Auto-gen refresh before snapshotting (database pages from engine
  spec metadata, API reference from openapi.json, component pages
  from Storybook stories) — captured at the SHA we cut from rather
  than whatever happened to be on disk.
- Data-import freeze: country list, feature flag table, database
  diagnostics, and component metadata are copied into snapshot-local
  `_versioned_data/` dirs so the historical version doesn't silently
  mutate when the source files change.
- Depth-aware import-path rewriter that handles deeply-nested
  component MDX files referencing `../../../src/` from the snapshot.

Versioning behavior: `lastVersion` stays at `current` for every
section, so the canonical URLs (`/docs/...`, `/admin-docs/...`,
`/developer-docs/...`, `/components/...`) continue to render content
from master. The `current` version is consistently labeled "Next"
with an `unreleased` banner, and `6.1.0` is a historical pin
accessible only via its explicit version segment.

Component playground: previously `disabled: true` in versions-config.json,
now enabled and versioned. The plugin block in docusaurus.config.ts
was already gated only by the `disabled` flag, so no other code
changes were needed to bring it back online.

The frozen `databases.json` in the snapshot is the canonical 80-database
artifact from the latest committed state in master (preserved by the
generator's input-hash cache), not a fallback regenerated from a
local Flask environment.
2026-05-13 17:15:46 -07:00

69 lines
3.4 KiB
Plaintext

---
id: create-security-roles-by-role-id-permissions
title: "Create security roles by role_id permissions"
description: "Create security roles by role_id permissions"
sidebar_label: "Create security roles by role_id permissions"
hide_title: true
hide_table_of_contents: true
api: eJzlWG1v2zYQ/ivEYUATTImTogMKFf2QBimarmiM2N0GRIZLi+eYqUSqJOXEE/TfhyMlWX7Jtq4F8mGfLFF3x3ueO94dXUHBDc/RobEQ31QgFcRQcLeACBTPEWIwOsOpFBCBwa+lNCggdqbECGy6wJxDXIFbFSQqlcNbNFDXkyCN1r3RYkUiqVYOlaNHXhSZTLmTWg3urFa0trZVGF2gcRKtf0O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Nd5KhcU1d96gVDVWG006nO6ngwqMhUHVd0EOsda+eldTpvTUSw5EZS+7FNK/BmwqQ6536q825CBKjKnOps80o/vspu2n83Hg9ZZ6eOgLzZtNfh3XFuFBoGfaOrFtOGXQ7JCGHZNLKXqkbfS9f+ytXGxk+yAaRvHRXMfE6/1SbnZO/972No7m90QMNX6FqeB11HpDw1ODdoF//VCFmxWl2vL4MX/+r2czKpI5BqrnfvEaOyQGOxP8z3lijrgtzyNJBpXc79FNBcaL/xPGxs3s0JDh/coMi4VLSJT8yqOSo3wAtJnpxCr49H/iJNBuP1jbq/06TNnhuoqhm3+MlkdU3LX0s0NAhM1gnsz5WQfpYSEM95ZnHH1W4ogoPrZvY9ZOsAbUJoL1hq5c9JVtIbRNQfen8C1BSWUEa9C+FrvyD2tHcmMTrDQeMsTdE3icdlJ71SRFUcIpg1/yXkWvh/Jvg90crvg6faAw+XVVoLraoMY1qwSelIg34vkF3aNg+Eai8XVRUkQj+oO2p8VyVi6vovd6UNnA==
sidebar_class_name: "post api-method"
info_path: developer-docs/api/superset
custom_edit_url: null
hide_send_button: true
show_extensions: true
---
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";
import Translate from "@docusaurus/Translate";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"Create security roles by role_id permissions"}
>
</Heading>
<MethodEndpoint
method={"post"}
path={"/api/v1/security/roles/{role_id}/permissions"}
context={"endpoint"}
>
</MethodEndpoint>
Create security roles by role_id permissions
<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
>
<Translate id="theme.openapi.request.title">Request</Translate>
</Heading>
<ParamsDetails
{...require("./create-security-roles-by-role-id-permissions.ParamsDetails.json")}
>
</ParamsDetails>
<RequestSchema
{...require("./create-security-roles-by-role-id-permissions.RequestSchema.json")}
>
</RequestSchema>
<StatusCodes
{...require("./create-security-roles-by-role-id-permissions.StatusCodes.json")}
>
</StatusCodes>