Diff support for group entity in groups module

Created on 11 October 2019, almost 5 years ago
Updated 11 June 2024, 4 months ago

Currently, we cannot compare revisions of groups entity

✨ Feature request
Status

Postponed

Version

2.0

Component

Diff builder plugins

Created by

🇮🇳India abhaisasidharan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
  • Merge request !82Resolve #3087300 "Diff support group" → (Open) created by s_leu
  • Pipeline finished with Failed
    4 months ago
    Total: 301s
    #185847
  • Pipeline finished with Failed
    4 months ago
    Total: 250s
    #185854
  • Pipeline finished with Failed
    4 months ago
    Total: 282s
    #185879
  • Pipeline finished with Failed
    4 months ago
    Total: 323s
    #185880
  • Pipeline finished with Failed
    4 months ago
    Total: 301s
    #185892
  • Status changed to Needs review 4 months ago
  • Re-rolled the patch from #8 on top of 2.x into an MR, fixed a bunch of issues reported by PHPCS and addressed review comments in #10. phpstan fails are still tbd, but moving into review anyway as it would be good if someone would test and review the code changes.

  • Pipeline finished with Failed
    4 months ago
    Total: 283s
    #185910
  • Pipeline finished with Failed
    4 months ago
    Total: 214s
    #193583
  • Status changed to Postponed 4 months ago
  • 🇦🇺Australia acbramley

    Once 📌 [PP1] Switch Node revision UI to generic UI Needs work is in Core, Diff will move to support all entity types generically. Until that is done, we cannot duplicate code for other entity types. Feel free to continue to use a patch or spinoff another module.

  • Pipeline finished with Failed
    4 months ago
    Total: 263s
    #195990
  • Pipeline finished with Failed
    4 months ago
    Total: 255s
    #195993
  • Pipeline finished with Failed
    4 months ago
    Total: 237s
    #196187
  • Diff will move to support all entity types generically.

    Please correct me if I'm wrong, but I think in order to support groups there will still be a requirement for some extra code, at least in order to consider group permissions when rendering the view/revert/delete links on the revision overview form. I just added this case in the MR.

    Agree that this logic should probably live in a separate module, possibly a submodule of diff that depends on group? But as you say, until the "generic entity support" refactoring for the diff module happened, it probably doesn't make sense to proceed any further.

  • 🇦🇺Australia acbramley

    Please correct me if I'm wrong, but I think in order to support groups there will still be a requirement for some extra code, at least in order to consider group permissions when rendering the view/revert/delete links on the revision overview form.

    Group should handle the access for these operations itself. The generic revision UI just uses $revision->toUrl('revision-delete-form'); etc so Group will have to implement access handler cases for those operations, see core's implementation for Block content

  • Pipeline finished with Failed
    3 months ago
    Total: 206s
    #203339
Production build 0.71.5 2024