mirror of
https://github.com/apache/superset.git
synced 2026-05-22 00:05:15 +00:00
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.
67 lines
2.9 KiB
Plaintext
67 lines
2.9 KiB
Plaintext
---
|
|
id: create-security-roles
|
|
title: "Create security roles"
|
|
description: "Create security roles"
|
|
sidebar_label: "Create security roles"
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
api: eJzFV21P5DYQ/ivWqNKBGlhA1wrlxAdAnA5KD8QubSWCOG8ysAHH9tnOwjbKf6/GTrLZF1T1qMQXNnHm7XnmxUMFBr+XaN2RymYQV5Aq6VA6euRaizzlLldy8GiVpDObTrDg9KSN0mhcjpbeJC+Qfgv+co7ywU0g/vVjBG6mEWKwzuTyAeo68u5ygxnEN0HptpNS40dMHUTgcifoYFhqNBbdlRJ4qPNtrayDOgJ84YUWOPc7d1BHkKFNTa4pbIjhd5WhYE3YfffOlOjjsVpJG1Ds7ey+gYM8o79LkL2HUrh3paxeVlgkkQJvHfbj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9fhixtowXNJ1nzJVU293wDXObnchd79GEFrkAokVMANVNWYW7w2oq7p+HuJhq7S23kR+gs1gjBofKM84cwvG/OR4WtWlBTXylZBHRE0DtMU/cR8Xfa218M05yCCcfPPVqEy0jH8maDwZ4gB6DInbV9D/izM7TKsHMEmJZdWvB55XRE0D4Sq+cTlrBdhVQWJMDGpcwMUf8VAfVvX9T8mSNiu
|
|
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"}
|
|
>
|
|
</Heading>
|
|
|
|
<MethodEndpoint
|
|
method={"post"}
|
|
path={"/api/v1/security/roles/"}
|
|
context={"endpoint"}
|
|
>
|
|
|
|
</MethodEndpoint>
|
|
|
|
|
|
|
|
Create security roles
|
|
|
|
<Heading
|
|
id={"request"}
|
|
as={"h2"}
|
|
className={"openapi-tabs__heading"}
|
|
>
|
|
<Translate id="theme.openapi.request.title">Request</Translate>
|
|
</Heading>
|
|
|
|
<ParamsDetails>
|
|
|
|
</ParamsDetails>
|
|
|
|
<RequestSchema
|
|
{...require("./create-security-roles.RequestSchema.json")}
|
|
>
|
|
|
|
</RequestSchema>
|
|
|
|
<StatusCodes
|
|
{...require("./create-security-roles.StatusCodes.json")}
|
|
>
|
|
|
|
</StatusCodes>
|