craftcms / craftcms/cms

Ability to create Global widgets for a Dashboard

Open
#3,362 0 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

dashboard 🖥
Dominant language
PHP
Stars
3.6k
Forks
705
Avg merge
1d 5h
Merged PRs (30d)
134

Description

In some cases, it would be nice to be able to only allow an admin to create a dashboard widget and make that dashboard widget visible to the dashboard of every user or every user in a group.

Take for example a widget that is has a list of common links that you wish to make available to all content editors. Or a widget about recent sales that you want to make available to all people on your sales team without having them each create and manage changes to the widget individually

Related:

This would also work nicely with custom plugin dashboards where a plugin wanted to share common information with all users of the plugin but where users may also want to customize related, less-common information for their particular roles.

Related:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by reviewing the related issues, especially #856, #2780, #3361, and #1198, then inspect the dashboard and widget permission flows. Done should include admin-created widgets shared with all users or a group while preserving user customization for other widgets.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.