craftcms / craftcms/cms

FR: Enable versions for globals

Open
#3,568 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description

It would be nice to have the option to enable versions for globals.

Although items stored within globals would typically not change that often, when they do they could dramatically change a website (depending of course what data is stored there). If a change is made to data stored in globals currently there is no easy way to revert back to a previous state.

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 identified in the issue. Start by locating how globals are stored and how versioning works for comparable content, then determine the required scope for restoring previous global data. Done means globals can be versioned and an earlier state can be restored reliably.

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
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.