Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/create-security-roles-by-role-id-permissions.api.mdx
Superset Dev 752ebd47cb docs: cut 6.1.0 versions for docs, admin_docs, developer_docs, components
- Snapshot all four versioned docs sections at v6.1.0; master continues to
  serve as "Next" (lastVersion: current, banner: unreleased) so editing
  master keeps updating the canonical URLs
- Enable the previously-disabled components plugin and version it
- Rename stale "developer_portal" references to "developer_docs" across
  package.json scripts, manage-versions.mjs, theme files (DocVersionBadge,
  DocVersionBanner), DOCS_CLAUDE.md, and README.md (URL backward-compat
  redirect /developer_portal/* preserved)
- Add admin_docs version scripts; drop dead "tutorials" plugin id from
  the version badge
- Generalize fixVersionedImports in manage-versions.mjs to walk every
  section's snapshot and rewrite ../../src/ and ../../data/ imports,
  catching admin_docs and components files that previous version cuts
  would have broken
- Remove orphan files: developer_portal_versions.json,
  tutorials_versions.json, and stray empty versions.json files inside
  components/ and developer_docs/ content directories
2026-05-02 11:53:56 -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+lNCggdqbECGy6wJxDXIFbFSQqlcNbNFDXkyCN1r3RYkUiqVYOlaNHXhSZTLmTWg3urFa0trZVGF2gcRKtf0OTS2ulVtOlxPtpjqqcSuG/CbSpkQXZgRg+SOuYnrO1BiMNRhrM+y8d5nafu1G7wo3hK6jrPtabx32YdIp6doepgwicdBktXOsMh53eUFs3CgjrCPCB5wVJ/R28m9NJTY5sgjwTglFAeigta7jbDpBHYQutbKDy+cnJdwTCoC0z938IUL2ttBmyHhGPB49itxO8YS9mXAgUZPnFd0UlR2v5Lf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vL4MX/+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>