Skip to content

Track TOS page version in Organization#3491

Merged
mrcasals merged 1 commit intodecidim:masterfrom
CodiTramuntana:feature/organization_tos_updated_at
May 31, 2018
Merged

Track TOS page version in Organization#3491
mrcasals merged 1 commit intodecidim:masterfrom
CodiTramuntana:feature/organization_tos_updated_at

Conversation

@agustibr
Copy link
Copy Markdown
Contributor

@agustibr agustibr commented May 24, 2018

🎩 What? Why?

[decidim-admin] Adds the option to mark as Notable changes in the TOS edit page, The Organization has a new setting tos_version that is updated when the notable_changes checkbox is true.

This PR is related to the PR User must review TOS when updated (comming soon) to solve issue #3318.

📌 Related Issues

📋 Subtasks

  • Add CHANGELOG entry
  • Add/modify seeds
  • Add tests
  • option to mark as notable changes in TOS page
  • migration to add organization setting tos_version
  • traces updates

📷 Screenshots (optional)

  • Last notable change shown in index:
    screenshot from 2018-05-09 12-53-45

  • Edit Page with noticeable changes check_box :
    screenshot from 2018-05-09 12-54-10

  • Version changes in Admin Dashboard:
    screenshot from 2018-05-23 11-26-35

@mrcasals
Copy link
Copy Markdown
Contributor

Instead of this, what about moving the T&C content to a field to the organization, instead of using a page?

@agustibr
Copy link
Copy Markdown
Contributor Author

@mrcasals Yes I thought about it, but it seemed to me a lot of changes to do in little time. And the issue references all StaticPages, in this case notable changes is only actionable within the ToS edit form but could be applied to any StaticPage (with some changes).

@agustibr agustibr mentioned this pull request May 24, 2018
9 tasks
@ghost ghost added the status: WIP label May 24, 2018
@mrcasals
Copy link
Copy Markdown
Contributor

Who judges when a change is important? What happens if an admin changes the ToS and doesn't check the checkbox?

Apart from moving this to an attribute on Decidim::Organization, I think users should be notified every time the ToS are changed. The "Notable Change" thing would only make sense for the ToS, which means we're using the wrong approach here (that's why I say we should move it to an attribute to the organization).

@decidim/product can you chime in here please? Specifically @andreslucena, who's been working on GRPD issues.

@agustibr
Copy link
Copy Markdown
Contributor Author

@mrcasals I answer your questions

Who judges when a change is important?

An Admin user

What happens if an admin changes the ToS and doesn't check the checkbox?

Maybe the administrator is fixing a misspelling, and doesn't need to annouce it as a TOS update.
But in the case that forgets to check it, she could go back to the edit screen and check the checkbox.

@mrcasals
Copy link
Copy Markdown
Contributor

I still feel it's very easy to miss this check, and we're using the wrong approach here. An ill-intended admin could check the ToS, saying you're giving your soul to the organization, and not checking the checkbox.

@oriolgual
Copy link
Copy Markdown
Contributor

The other day we were talking about the ToS page and we agreed that the current approach is far from good. If theses changes are necessary, I'd highly encourage moving the ToS text to a field at the organization instead of keeping the current approach.

@tramuntanal
Copy link
Copy Markdown
Contributor

@decidim/lot-core Sorry I'm always the PIA but I think your comments should be in a new issue because this task solves the GDPR compliance as requested by @decidim/product.

If you think this should be refactored to other workflows or views it ought to be treated as an improvement in metadecidim. We even think that your proposal is a great idea but out of our scope here.

@oriolgual
Copy link
Copy Markdown
Contributor

I guess that's fair @tramuntanal, we'll tackle this in another PR.

@agustibr agustibr force-pushed the feature/organization_tos_updated_at branch from d3b5533 to 6a8b2c2 Compare May 29, 2018 15:46
@ghost ghost added the status: WIP label May 29, 2018
@andreslucena
Copy link
Copy Markdown
Member

andreslucena commented May 30, 2018

👍

It's out of scope more changes on TOS dynamic. Let's keep it simpler for the moment.

About the discussion of TOS on a given field, I prefer as it's right now (as a page), so we can leverage on some features of it - like WYSIWYG editor, and on the future being able to upload images and have this kind of contents: http://www.barcelona.cat/ca/avis-legal

If the idea is having it as a field but also having a WYSIWYG editor, then it's OK by me also

@oriolgual
Copy link
Copy Markdown
Contributor

@agustibr can you rebase/update this from master to fix the CI errors?

@agustibr
Copy link
Copy Markdown
Contributor Author

Ok @andreslucena

@oriolgual yes I'll update the branch

@agustibr agustibr force-pushed the feature/organization_tos_updated_at branch from 6a8b2c2 to ebaafb5 Compare May 30, 2018 09:30
@agustibr agustibr force-pushed the feature/organization_tos_updated_at branch from 8417efb to 990d78e Compare May 31, 2018 09:22
@agustibr
Copy link
Copy Markdown
Contributor Author

@decidim/lot-core CI checks passed! can you review the PR

@mrcasals mrcasals merged commit 31c6a26 into decidim:master May 31, 2018
@agustibr
Copy link
Copy Markdown
Contributor Author

Thanks 👏

@agustibr agustibr deleted the feature/organization_tos_updated_at branch March 22, 2019 12:01
@agustibr agustibr mentioned this pull request Dec 4, 2019
5 tasks
@andreslucena andreslucena added type: fix PRs that implement a fix for a bug and removed type: enhancement labels Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: core team: privacy type: fix PRs that implement a fix for a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants