Skip to content

Commit

Permalink
[fc] Repository: plone.restapi
Browse files Browse the repository at this point in the history
Branch: refs/heads/main
Date: 2024-10-23T13:18:36-07:00
Author: David Glick (davisagli) <[email protected]>
Commit: plone/plone.restapi@203cfb3

Make sure CMFPlone's permissions are loaded (#1827)

* Make sure CMFPlone's permissions are loaded

* changelog

Files changed:
A news/1827.bugfix
M src/plone/restapi/configure.zcml
  • Loading branch information
davisagli committed Oct 23, 2024
1 parent 4c30a5e commit 84016e0
Showing 1 changed file with 9 additions and 28 deletions.
37 changes: 9 additions & 28 deletions last_commit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,19 @@ Repository: plone.restapi


Branch: refs/heads/main
Date: 2024-10-23T09:40:39-07:00
Date: 2024-10-23T13:18:36-07:00
Author: David Glick (davisagli) <[email protected]>
Commit: https://github.com/plone/plone.restapi/commit/1a07d9016e470aeea7e4187a482b8714a43924d8
Commit: https://github.com/plone/plone.restapi/commit/203cfb3020ff1b418f252604ee36b0fb4640c927

Preparing release 9.8.0
Make sure CMFPlone's permissions are loaded (#1827)

Files changed:
M CHANGES.rst
M setup.py
D news/1808.bugfix
D news/1812.feature
D news/1815.documentation
D news/1816.bugfix
D news/1818.bugfix
D news/1820.bugfix
D news/1822.documentation
D news/1826.feature

b'diff --git a/CHANGES.rst b/CHANGES.rst\nindex 7d5323edb..03ec59595 100644\n--- a/CHANGES.rst\n+++ b/CHANGES.rst\n@@ -8,6 +8,34 @@ Changelog\n \n .. towncrier release notes start\n \n+9.8.0 (2024-10-23)\n+------------------\n+\n+New features:\n+\n+\n+- Added create and fetch aliases in CSV format. @Faakhir30 (#1812)\n+- Site service: Indicate whether the site supports filtering URL aliases by date. @davisagli (#1826)\n+\n+\n+Bug fixes:\n+\n+\n+- Fix error getting allow_discussion value when p.a.discussion is not activated.\n+ [maurits] (#1808)\n+- Fix incorrect condition for ``show_excluded_items`` setting in the ``@navigation`` API.\n+ [mamico] (#1816)\n+- Fix response of `RelationListFieldSerializer` by filtering out invalid items. @Faakhir30 (#1818)\n+- Aliases endpoint: Use "Manage Portal Aliases" and "Manage Content Aliases" permissions. @jackahl (#1820)\n+\n+\n+Documentation:\n+\n+\n+- Use Plone Sphinx Theme for documentation. Build docs when there are changes to http-examples. @stevepiercy (#1815)\n+- Fixed spelling of prerequisites. @stevepiercy (#1822)\n+\n+\n 9.7.2 (2024-09-05)\n ------------------\n \ndiff --git a/news/1808.bugfix b/news/1808.bugfix\ndeleted file mode 100644\nindex 7a8ab1df8..000000000\n--- a/news/1808.bugfix\n+++ /dev/null\n@@ -1,2 +0,0 @@\n-Fix error getting allow_discussion value when p.a.discussion is not activated.\n-[maurits]\ndiff --git a/news/1812.feature b/news/1812.feature\ndeleted file mode 100644\nindex 85727b674..000000000\n--- a/news/1812.feature\n+++ /dev/null\n@@ -1 +0,0 @@\n-Added create and fetch aliases in CSV format. @Faakhir30\ndiff --git a/news/1815.documentation b/news/1815.documentation\ndeleted file mode 100644\nindex dd9891dfe..000000000\n--- a/news/1815.documentation\n+++ /dev/null\n@@ -1 +0,0 @@\n-Use Plone Sphinx Theme for documentation. Build docs when there are changes to http-examples. @stevepiercy\ndiff --git a/news/1816.bugfix b/news/1816.bugfix\ndeleted file mode 100644\nindex 2bb52fc58..000000000\n--- a/news/1816.bugfix\n+++ /dev/null\n@@ -1,2 +0,0 @@\n-Fix incorrect condition for ``show_excluded_items`` setting in the ``@navigation`` API.\n-[mamico]\ndiff --git a/news/1818.bugfix b/news/1818.bugfix\ndeleted file mode 100644\nindex 54260238e..000000000\n--- a/news/1818.bugfix\n+++ /dev/null\n@@ -1 +0,0 @@\n-Fix response of `RelationListFieldSerializer` by filtering out invalid items. @Faakhir30\ndiff --git a/news/1820.bugfix b/news/1820.bugfix\ndeleted file mode 100644\nindex 8f2aeaaf4..000000000\n--- a/news/1820.bugfix\n+++ /dev/null\n@@ -1 +0,0 @@\n-Aliases endpoint: Use "Manage Portal Aliases" and "Manage Content Aliases" permissions. @jackahl\ndiff --git a/news/1822.documentation b/news/1822.documentation\ndeleted file mode 100644\nindex c37ab9322..000000000\n--- a/news/1822.documentation\n+++ /dev/null\n@@ -1 +0,0 @@\n-Fixed spelling of prerequisites. @stevepiercy\ndiff --git a/news/1826.feature b/news/1826.feature\ndeleted file mode 100644\nindex 3f21fa89a..000000000\n--- a/news/1826.feature\n+++ /dev/null\n@@ -1 +0,0 @@\n-Site service: Indicate whether the site supports filtering URL aliases by date. @davisagli\ndiff --git a/setup.py b/setup.py\nindex c9b76e910..6858c5da2 100644\n--- a/setup.py\n+++ b/setup.py\n@@ -4,7 +4,7 @@\n import sys\n \n \n-version = "9.7.3.dev0"\n+version = "9.8.0"\n \n if sys.version_info.major == 2:\n raise ValueError(\n'

Repository: plone.restapi


Branch: refs/heads/main
Date: 2024-10-23T09:41:24-07:00
Author: David Glick (davisagli) <[email protected]>
Commit: https://github.com/plone/plone.restapi/commit/ffd2045042769ad1cb80e92a54fcb94e19da6cbf

Back to development: 9.8.1
* Make sure CMFPlone's permissions are loaded

* changelog

Files changed:
M setup.py
A news/1827.bugfix
M src/plone/restapi/configure.zcml

b'diff --git a/setup.py b/setup.py\nindex 6858c5da2..87192c8f7 100644\n--- a/setup.py\n+++ b/setup.py\n@@ -4,7 +4,7 @@\n import sys\n \n \n-version = "9.8.0"\n+version = "9.8.1.dev0"\n \n if sys.version_info.major == 2:\n raise ValueError(\n'
b'diff --git a/news/1827.bugfix b/news/1827.bugfix\nnew file mode 100644\nindex 000000000..98d430bbf\n--- /dev/null\n+++ b/news/1827.bugfix\n@@ -0,0 +1 @@\n+Fix `ComponentLookupError` for `Products.CMFPlone.ManagePortalAliases` permission, which could happen depending on package load order. @davisagli\ndiff --git a/src/plone/restapi/configure.zcml b/src/plone/restapi/configure.zcml\nindex 2f79ec0c7..8bd6c38c3 100644\n--- a/src/plone/restapi/configure.zcml\n+++ b/src/plone/restapi/configure.zcml\n@@ -22,6 +22,7 @@\n <include package="plone.behavior" />\n <include package="plone.rest" />\n <include package="plone.schema" />\n+ <include package="Products.CMFPlone" />\n \n <include\n package="plone.app.caching"\n'

0 comments on commit 84016e0

Please sign in to comment.