Skip to content

[FEATURE] Permissions lists CLUSTER_PERMISSIONS/INDEX_PERMISSIONS should be retrieved at runtime from plugins #1196

Open
@peternied

Description

@peternied

Is your feature request related to a problem?
Developers in the OpenSearch project have to update a file outside their repository to update the list of permissions that are shown in the security plugin's permission UX.

This makes testing updates difficult and requires coordination with an external team. Since changes of this nature arrive toward the end of the release lifecycle it causes delays that can jeopardize the associated features.

What solution would you like?
It would be way easier if the list of permissions could be supplied at runtime by plugins and the security dashboard plugin could read, merge, sort, and present those values in the UX.

Do you have any additional context?
Reducing the amount of overhead to get common changes done in OpenSearch would benefit all plugins - additional plugins that aren't part of the OpenSearch distribution would have a mechanism to supply their own permissions to include in the list.

This discussion in a recent PR [1] required back and forth along with realigning expectations - and ultimately everything was already working as intended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions