Developer documentation for designing feature privileges#166716
Developer documentation for designing feature privileges#166716SiddharthMantri merged 27 commits intoelastic:mainfrom
Conversation
|
Pinging @elastic/kibana-security (Team:Security) |
|
@SiddharthMantri Im having trouble mapping the files to the menu in the docs, where should I be looking? |
|
@kc13greiner I missed adding the dev id to the dev_docs navigation json file. It should be available now |
|
Please run Also I keep getting an error when trying to run |
|
@kc13greiner That's weird, I see no error on running the
I'm unable to run the command to validate the docs with this error:
However, i see the linked image correctly in the docs:
|
kc13greiner
left a comment
There was a problem hiding this comment.
Looking good so far!
| To do so, we need to modify the configuration object for our route to look like this: | ||
|
|
||
| ``` | ||
| public setup(core: CoreSetup, deps: FeatureControlExampleDeps) { |
There was a problem hiding this comment.
nit: add ts so the syntax highlighting matches the above example
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: |





Summary
Closes #162263
Introduces a new
Feature Privilegessection to the developer documentation. The documentation includes a tutorial on how to control access to features of plugin being developed. Introduces a few sections:Testing
To build this locally, run ./scripts/dev_docs from a local checkout of this PR. A server will eventually start on http://localhost:3000 where you can preview the changes.