Graylog2 / Graylog2/graylog2-server

Request: Hide menu items that they user does not have the permissions to access

Open
#19,284 0 comments 0 reactions 0 assignees View on GitHub
feature triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## What?
The context menu should only show entries that the user, dependent on his role, is allowed to execute.
The user sees the context menu entry "change field type“ grayed out. He can not execute this action because he has no permissions to do that.
![image](https://github.com/Graylog2/graylog2-server/assets/116824617/011e2cf1-f1a3-4c13-87f8-33e5f07affbf)

## Why?
- Keeps context menu short and better readable.
- Does not "unsettle“ a user that there is a functionality that he is not allowed to use.
- This format/menu system seems to be inconsistently applied throughout the UI.

## Your Environment

* Graylog Version: 5.2.7

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.