kibana-privilege-deprecation

Review Kibana feature privilege deprecations and validate privilege mappings.

21.2k|8.6k|Updated Jan 26, 2013
One-click install
npx skills add https://github.com/elastic/kibana --skill kibana-privilege-deprecation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kibana-privilege-deprecation
Source: https://github.com/elastic/kibana/tree/main/.agents/skills/kibana-privilege-deprecation
Command: npx skills add https://github.com/elastic/kibana --skill kibana-privilege-deprecation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of managing feature privilege deprecations within Kibana, ensuring backward compatibility and smooth transitions when features are renamed, split, consolidated, or moved.

Core Features & Use Cases

  • Implement Deprecations: Guides users through marking existing features as deprecated and defining replacement privileges.
  • Review Deprecation PRs: Provides a checklist and validation rules for reviewing changes related to feature privilege deprecations.
  • Manage Privilege Mappings: Facilitates the use of the replacedBy system to link deprecated privileges to current ones.
  • Use Case: When Kibana's "Visualize" feature is being replaced by a new "Lens" feature, this Skill helps manage the transition of user privileges so that users with old permissions can still access the new functionality.

Quick Start

Use the kibana-privilege-deprecation skill to review a pull request that is deprecating the 'old_feature' privilege and replacing it with 'new_feature'.

Frequently Asked Questions about kibana-privilege-deprecation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Kibana feature privilege deprecations when renaming or consolidating features?

Manage Kibana feature privilege deprecations by using a defined framework to mark old features as deprecated and map replacement privileges. This enforces startup validation rules to ensure backward compatibility and correct privilege capability relocation during feature transitions.

How does the replacedBy system work for mapping deprecated Kibana privileges?

The replacedBy system links deprecated Kibana privileges to current ones, facilitating smooth privilege mappings. It ensures users with old permissions automatically gain access to new functionality when features are renamed, split, consolidated, or moved.

What is the best way to review a pull request that deprecates Kibana feature privileges?

Review Kibana feature privilege deprecation pull requests using a provided checklist and validation rules. This framework verifies backward compatibility, correct replacedBy mappings, and proper handling of privilege capabilities during feature renaming or consolidation.

When do I need to implement feature privilege deprecation in Kibana?

Implement feature privilege deprecation in Kibana when features are being renamed, split, consolidated, or when privilege capabilities are relocated. This manages user privilege transitions so users with old permissions retain access to new functionality.

Does Kibana enforce validation rules for deprecated feature privileges at startup?

Yes, Kibana enforces validation rules for deprecated feature privileges at startup. These rules verify correct replacedBy mappings and ensure backward compatibility when features are renamed, split, consolidated, or moved.