Skip to content

Remove perspective from user preferences collection#25092

Open
janheise wants to merge 3 commits intomasterfrom
remove-perspective-from-user-preferences
Open

Remove perspective from user preferences collection#25092
janheise wants to merge 3 commits intomasterfrom
remove-perspective-from-user-preferences

Conversation

@janheise
Copy link
Contributor

@janheise janheise commented Feb 23, 2026

Description

Motivation and Context

With the removal of the security perspective in enterprise, there is only one perspective default left. So we remove it completely from all users. This is also, why this migration is in the server package and not in enterprise.

Fixes https://github.com/Graylog2/graylog-plugin-enterprise/issues/13278

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (non-breaking change)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have requested a documentation update.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

janheise and others added 2 commits February 23, 2026 14:42
The perspectives frontend plugin and perspective-based navigation have been
removed. This migration cleans up the now-obsolete "perspective" key from
the preferences map in user documents.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Covers three scenarios: skipping when already migrated, no-op when users
lack a perspective attribute, and removal of the perspective key while
preserving other preferences.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant