Skip to content

Empty dropdown option for collection settings when permissions are missing #14051

@helloDanuk

Description

@helloDanuk

Bug description

If you only have permission to edit, delete… collections entries, but without the permission to "Configure Collections", you can open an empty dropdown. You don't have access to "Configure Collection", "Edit Blueprints" and "Scaffold Views" – that's why the dropdown is empty and redundant.

How to reproduce

Image

Open Collection and click on the three dots next to the buttons "tree view" and "list view":

Image

Logs

Environment

Environment
Application Name: Statamic
Laravel Version: 12.52.0
PHP Version: 8.3.30
Composer Version: 2.9.3
Environment: local
Debug Mode: ENABLED
URL: six-test.test
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: sync
Session: file

Storage
public/storage: NOT LINKED

Statamic
Addons: 0
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.3.3 PRO

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

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