-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Branch: refs/heads/master Date: 2024-12-05T16:46:37-08:00 Author: Philip Bauer (pbauer) <[email protected]> Commit: plone/Products.CMFPlone@a8d19f1 Manage permission plone.ModifyConstrainTypes (#4073) * Grant permission plone.ModifyConstrainTypes (Modify constrain types) to Manager, Site Administrator and Owner. (Fix #4072) * Apply suggestions from code review --------- Co-authored-by: David Glick <[email protected]> Files changed: A news/4072.bugfix M Products/CMFPlone/profiles/default/rolemap.xml
- Loading branch information
Showing
1 changed file
with
15 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,24 @@ | ||
Repository: plone.app.theming | ||
Repository: Products.CMFPlone | ||
|
||
|
||
Branch: refs/heads/master | ||
Date: 2024-12-03T19:42:58-08:00 | ||
Author: Steve Piercy (stevepiercy) <[email protected]> | ||
Commit: https://github.com/plone/plone.app.theming/commit/1933dd8b1bb162ac71500cc0fa6d773572fad93d | ||
Date: 2024-12-05T16:46:37-08:00 | ||
Author: Philip Bauer (pbauer) <[email protected]> | ||
Commit: https://github.com/plone/Products.CMFPlone/commit/a8d19f1229b047a9cffbd10926993ffe6589cfef | ||
|
||
Update link and label to Theming of Classic UI documentation | ||
Manage permission plone.ModifyConstrainTypes (#4073) | ||
|
||
See https://github.com/plone/Products.CMFPlone/pull/4054 | ||
* Grant permission plone.ModifyConstrainTypes (Modify constrain types) to Manager, Site Administrator and Owner. (Fix #4072) | ||
|
||
* Apply suggestions from code review | ||
|
||
--------- | ||
|
||
Co-authored-by: David Glick <[email protected]> | ||
|
||
Files changed: | ||
M src/plone/app/theming/browser/controlpanel.pt | ||
A news/4072.bugfix | ||
M Products/CMFPlone/profiles/default/rolemap.xml | ||
|
||
b'diff --git a/src/plone/app/theming/browser/controlpanel.pt b/src/plone/app/theming/browser/controlpanel.pt\nindex 382f638..621c8d5 100644\n--- a/src/plone/app/theming/browser/controlpanel.pt\n+++ b/src/plone/app/theming/browser/controlpanel.pt\n@@ -725,10 +725,10 @@\n Define your own custom CSS in the field below. This is a good place for quick customizations of things like colors and the toolbar. Definitions here will override previously defined CSS of Plone. Please use this only for small customizations, as it is hard to keep track of changes here. For bigger changes you most likely want to customize a full theme and make your changes there.\n </div>\n <div class="theming_doc_link">\n- <p><a href="https://docs.plone.org/adapt-and-extend/theming"\n+ <p><a href="https://6.docs.plone.org/classic-ui/theming/index.html"\n target="_blank"\n i18n:translate="label_theming_doc_link"\n- >Theming documentation</a></p>\n+ >Theming of Classic UI documentation</a></p>\n </div>\n \n <div class="errorMessage"\n' | ||
|
||
Repository: plone.app.theming | ||
|
||
|
||
Branch: refs/heads/master | ||
Date: 2024-12-03T20:09:51-08:00 | ||
Author: Steve Piercy (stevepiercy) <[email protected]> | ||
Commit: https://github.com/plone/plone.app.theming/commit/dc15462a8c93c7c0467aee5b4767a412884a1b2e | ||
|
||
Create 248.bugfix | ||
|
||
Files changed: | ||
A news/248.bugfix | ||
|
||
b'diff --git a/news/248.bugfix b/news/248.bugfix\nnew file mode 100644\nindex 00000000..1feb6363\n--- /dev/null\n+++ b/news/248.bugfix\n@@ -0,0 +1 @@\n+Update the link and label under Site Setup > Theming > Advanced settings > Custom Styles to Theming of Classic UI at https://6.docs.plone.org/classic-ui/theming/index.html. @stevepiercy\n' | ||
|
||
Repository: plone.app.theming | ||
|
||
|
||
Branch: refs/heads/master | ||
Date: 2024-12-04T06:32:57-08:00 | ||
Author: Steve Piercy (stevepiercy) <[email protected]> | ||
Commit: https://github.com/plone/plone.app.theming/commit/907d61d66eab7c649ed0b2f5c02e3dd3e57e319d | ||
|
||
Merge pull request #248 from plone/docs-classic-ui-theming | ||
|
||
Update link and label to Theming of Classic UI documentation | ||
|
||
Files changed: | ||
A news/248.bugfix | ||
M src/plone/app/theming/browser/controlpanel.pt | ||
|
||
b'diff --git a/news/248.bugfix b/news/248.bugfix\nnew file mode 100644\nindex 00000000..1feb6363\n--- /dev/null\n+++ b/news/248.bugfix\n@@ -0,0 +1 @@\n+Update the link and label under Site Setup > Theming > Advanced settings > Custom Styles to Theming of Classic UI at https://6.docs.plone.org/classic-ui/theming/index.html. @stevepiercy\ndiff --git a/src/plone/app/theming/browser/controlpanel.pt b/src/plone/app/theming/browser/controlpanel.pt\nindex 382f638b..621c8d5d 100644\n--- a/src/plone/app/theming/browser/controlpanel.pt\n+++ b/src/plone/app/theming/browser/controlpanel.pt\n@@ -725,10 +725,10 @@\n Define your own custom CSS in the field below. This is a good place for quick customizations of things like colors and the toolbar. Definitions here will override previously defined CSS of Plone. Please use this only for small customizations, as it is hard to keep track of changes here. For bigger changes you most likely want to customize a full theme and make your changes there.\n </div>\n <div class="theming_doc_link">\n- <p><a href="https://docs.plone.org/adapt-and-extend/theming"\n+ <p><a href="https://6.docs.plone.org/classic-ui/theming/index.html"\n target="_blank"\n i18n:translate="label_theming_doc_link"\n- >Theming documentation</a></p>\n+ >Theming of Classic UI documentation</a></p>\n </div>\n \n <div class="errorMessage"\n' | ||
b'diff --git a/Products/CMFPlone/profiles/default/rolemap.xml b/Products/CMFPlone/profiles/default/rolemap.xml\nindex 774005a03e..1336b14e06 100644\n--- a/Products/CMFPlone/profiles/default/rolemap.xml\n+++ b/Products/CMFPlone/profiles/default/rolemap.xml\n@@ -371,5 +371,12 @@\n <role name="Manager" />\n <role name="Site Administrator" />\n </permission>\n+ <permission acquire="True"\n+ name="Modify constrain types"\n+ >\n+ <role name="Manager" />\n+ <role name="Site Administrator" />\n+ <role name="Owner" />\n+ </permission>\n </permissions>\n </rolemap>\ndiff --git a/news/4072.bugfix b/news/4072.bugfix\nnew file mode 100644\nindex 0000000000..885b215c42\n--- /dev/null\n+++ b/news/4072.bugfix\n@@ -0,0 +1,3 @@\n+Grant permission plone.ModifyConstrainTypes (Modify constrain types) to Manager, Site Administrator and Owner.\n+The change applies to new sites but is not applied automatically to upgraded sites.\n+[pbauer]\n' | ||
|