imio.smartweb.core 1.4.5__py3-none-any.whl → 1.4.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,7 +60,7 @@
60
60
  name="siteadmin-smartweb-controlpanel"
61
61
  for="Products.CMFPlone.interfaces.IPloneSiteRoot"
62
62
  class=".controlpanel_siteadmin.SmartwebSiteAdminControlPanelView"
63
- permission="cmf.ManagePortal"
63
+ permission="cmf.ModifyPortalContent"
64
64
  layer="imio.smartweb.core.interfaces.IImioSmartwebCoreLayer"
65
65
  />
66
66
 
@@ -21,6 +21,6 @@
21
21
  icon_expr=""
22
22
  url_expr="string:${portal_url}/@@siteadmin-smartweb-controlpanel"
23
23
  visible="True">
24
- <permission>Manage portal</permission>
24
+ <permission>imio.smartweb.core: Manage site admin control panel</permission>
25
25
  </configlet>
26
26
  </object>
@@ -1,6 +1,6 @@
1
1
  <?xml version='1.0' encoding='UTF-8'?>
2
2
  <metadata>
3
- <version>1070</version>
3
+ <version>1071</version>
4
4
  <dependencies>
5
5
  <dependency>profile-plone.app.dexterity:default</dependency>
6
6
  <dependency>profile-plone.app.discussion:default</dependency>
@@ -323,6 +323,14 @@
323
323
  provides="Products.GenericSetup.interfaces.EXTENSION"
324
324
  />
325
325
 
326
+ <genericsetup:registerProfile
327
+ name="upgrade_1070_to_1071"
328
+ title="Upgrade core from 1070 to 1071"
329
+ directory="profiles/1070_to_1071"
330
+ description="Change permission to manage site admin control panel"
331
+ provides="Products.GenericSetup.interfaces.EXTENSION"
332
+ />
333
+
326
334
  <genericsetup:upgradeStep
327
335
  title="Configure first official release"
328
336
  description="Run needed profiles steps and reindex catalog"
@@ -1029,7 +1037,7 @@
1029
1037
 
1030
1038
  <genericsetup:upgradeSteps
1031
1039
  source="1069"
1032
- destination="1070"
1040
+ destination="1070"
1033
1041
  profile="imio.smartweb.core:default">
1034
1042
  <genericsetup:upgradeDepends
1035
1043
  title="Add term offre_d_emploi to procedure_taxonomy"
@@ -1037,6 +1045,16 @@
1037
1045
  />
1038
1046
  </genericsetup:upgradeSteps>
1039
1047
 
1048
+ <genericsetup:upgradeSteps
1049
+ source="1070"
1050
+ destination="1071"
1051
+ profile="imio.smartweb.core:default">
1052
+ <genericsetup:upgradeDepends
1053
+ title="Change permission to access to site admin control panel"
1054
+ import_profile="imio.smartweb.core.upgrades:upgrade_1070_to_1071"
1055
+ />
1056
+ </genericsetup:upgradeSteps>
1057
+
1040
1058
  <!--genericsetup:upgradeStep
1041
1059
  title="Check contact itinerary if address was checked in visible blocks"
1042
1060
  description=""
@@ -0,0 +1,26 @@
1
+ <?xml version="1.0"?>
2
+ <object name="portal_controlpanel">
3
+ <configlet
4
+ title="Smartweb Settings"
5
+ action_id="smartweb-controlpanel"
6
+ appId="smartweb-controlpanel"
7
+ category="Products"
8
+ condition_expr=""
9
+ icon_expr=""
10
+ url_expr="string:${portal_url}/@@smartweb-controlpanel"
11
+ visible="True">
12
+ <permission>Manage portal</permission>
13
+ </configlet>
14
+
15
+ <configlet
16
+ title="Site admin smartweb Settings"
17
+ action_id="siteadmin-smartweb-controlpanel"
18
+ appId="siteadmin-smartweb-controlpanel"
19
+ category="Products"
20
+ condition_expr=""
21
+ icon_expr=""
22
+ url_expr="string:${portal_url}/@@siteadmin-smartweb-controlpanel"
23
+ visible="True">
24
+ <permission>imio.smartweb.core: Manage site admin control panel</permission>
25
+ </configlet>
26
+ </object>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0"?>
2
+ <registry
3
+ xmlns:i18n="http://xml.zope.org/namespaces/i18n"
4
+ i18n:domain="imio.smartweb">
5
+
6
+ <records interface="imio.smartweb.core.browser.controlpanel_siteadmin.ISmartwebSiteAdminControlPanel"
7
+ prefix="smartweb" />
8
+
9
+ </registry>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: imio.smartweb.core
3
- Version: 1.4.5
3
+ Version: 1.4.6
4
4
  Summary: Core product for iMio websites
5
5
  Home-page: https://github.com/imio/imio.smartweb.core
6
6
  Author: Christophe Boulanger
@@ -208,6 +208,13 @@ Changelog
208
208
  =========
209
209
 
210
210
 
211
+ 1.4.6 (2025-06-26)
212
+ ------------------
213
+
214
+ - Change permission to access to site admin control panel
215
+ [boulch]
216
+
217
+
211
218
  1.4.5 (2025-06-25)
212
219
  ------------------
213
220
 
@@ -1,4 +1,4 @@
1
- imio.smartweb.core-1.4.5-py3.12-nspkg.pth,sha256=XZ3YhlzwpUCC8tXtelHRqxVxo3NWomIiMsUfUshrbeE,1011
1
+ imio.smartweb.core-1.4.6-py3.12-nspkg.pth,sha256=XZ3YhlzwpUCC8tXtelHRqxVxo3NWomIiMsUfUshrbeE,1011
2
2
  imio/smartweb/core/__init__.py,sha256=iwhKnzeBJLKxpRVjvzwiRE63_zNpIBfaKLITauVph-0,24
3
3
  imio/smartweb/core/config.py,sha256=BUgfvh4hCaw0onCYAG4gQI1O4hZ-GzXWEltdHi4YLIs,337
4
4
  imio/smartweb/core/configure.zcml,sha256=TvYHum_puMstTxxe9YjrtOeEm843_ef4cPSD3Eod6H8,1703
@@ -26,7 +26,7 @@ imio/smartweb/core/behaviors/orientation.py,sha256=WrW9BeT9KICl4qmkGzplLepJ5J_rM
26
26
  imio/smartweb/core/behaviors/quickaccess.py,sha256=j18T39KcbiJErpidMM8wH6i4XjEIZyTQ1kER4_FfhhE,1063
27
27
  imio/smartweb/core/behaviors/subsite.py,sha256=O2aJHl3Jj9WTpGBmNJaoia-PAtb7aSHpCRanvO1JE8k,1707
28
28
  imio/smartweb/core/browser/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
- imio/smartweb/core/browser/configure.zcml,sha256=pvlYAOcArPP_n14w9TDPCHjl5XyzaxNkgJNX_SaxiPM,5043
29
+ imio/smartweb/core/browser/configure.zcml,sha256=3zNNuY3EABMZMf2ZwL68S0M5kfhbrl53iqkVDl4-VmQ,5050
30
30
  imio/smartweb/core/browser/controlpanel.py,sha256=v0f3m2zyRVmV8dhZ9s9rRVmgaa881biphLfM4H-EGUg,9315
31
31
  imio/smartweb/core/browser/controlpanel_siteadmin.py,sha256=A2CLBqX9PRvbWFEGwy50sZCh7gEvG3WFvFGpIEWX12o,4855
32
32
  imio/smartweb/core/browser/forms.py,sha256=_6Z0x7yVeA5JaW4IwpYkX7bTIbw0UskgvtGfNDtMsrI,1091
@@ -347,9 +347,9 @@ imio/smartweb/core/faceted/config/collection.xml,sha256=N_IE-bDMPXKWOhkI_y6seEDY
347
347
  imio/smartweb/core/profiles/default/actions.xml,sha256=TwRzyJhg44j1vI4pBW8-50qb4WmCaKqP6e4r1ijVAsI,7504
348
348
  imio/smartweb/core/profiles/default/browserlayer.xml,sha256=j9-hf9pW0KRVUx9S7sOH8EF-fc-aPua-oIdu0GuzTyk,179
349
349
  imio/smartweb/core/profiles/default/catalog.xml,sha256=AZx3c3qR6ANx8y269IxmDOIvB7yVSOTy6D1nP9kXza0,864
350
- imio/smartweb/core/profiles/default/controlpanel.xml,sha256=bscrubUNoVcJU2rnVrns-U12TSDTzFTEVIZEfvleNFI,776
350
+ imio/smartweb/core/profiles/default/controlpanel.xml,sha256=BUSnTLS4uKRGO9-Td_mGMGyi4XhdfaLfUW1Ep_W_EAI,814
351
351
  imio/smartweb/core/profiles/default/diff_tool.xml,sha256=66L2L7ZBGJajPDeHl16A3h6RUcj9l0C7qpwe8JSYe7o,212
352
- imio/smartweb/core/profiles/default/metadata.xml,sha256=wMlgkL--INXRTLm4y77HsRgY1px5xzxdBO4wJ-DyVQo,1284
352
+ imio/smartweb/core/profiles/default/metadata.xml,sha256=B8eVUPFo8gM69-74qVc2uFTVY4McNW5UUGGv1qlIzcc,1284
353
353
  imio/smartweb/core/profiles/default/repositorytool.xml,sha256=aTErs-VvEEV3dm9_TdgPZfx1Pb1f5Sw7ap7IgiJOK4w,227
354
354
  imio/smartweb/core/profiles/default/rolemap.xml,sha256=4RoAjjEiO643mft6FUdu20Scgk1WdPvFqyCIE_iSKJw,2905
355
355
  imio/smartweb/core/profiles/default/types.xml,sha256=oPZSjRtivll-J9qzhd4STvM7w1P6quyLp4ky6aH913w,2201
@@ -510,7 +510,7 @@ imio/smartweb/core/tests/robot/test_ct_page.robot,sha256=UoH47egHyCCVHmfqPdA1vQe
510
510
  imio/smartweb/core/tests/robot/test_ct_procedure.robot,sha256=vTeIpI4inkRWbJy41EZc1bkLL5tLrblRFYtNA820H68,2712
511
511
  imio/smartweb/core/tests/robot/test_example.robot,sha256=G_rUe5kTswB8E8xtM92zF78H1wotHxhzzZH8zrfrDi8,2003
512
512
  imio/smartweb/core/upgrades/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
513
- imio/smartweb/core/upgrades/configure.zcml,sha256=Y8Ke3O8Acoppkjd8RC8u53zGholXfh53awQgU6_gFvc,35650
513
+ imio/smartweb/core/upgrades/configure.zcml,sha256=koVMFQOxmIiXPLXWlrYJD16YGbKY1xVN76EfnXy7lhc,36280
514
514
  imio/smartweb/core/upgrades/upgrades.py,sha256=0UWSP7QzImtFwYQnY_ML4_w9Ygs6v6YAOg6JUWjXVMw,10592
515
515
  imio/smartweb/core/upgrades/profiles/1015_to_1016/registry/e-guichet-icon.xml,sha256=CG5K3-MCDqdMl7Dog-yvNZK0u0t8ipK-6QCcBNLb4cY,481
516
516
  imio/smartweb/core/upgrades/profiles/1016_to_1017/registry/shop-icon.xml,sha256=vvmcWnYlU5Yic6RrOhziRj0RsveKaclNM5xWJVHx6r0,478
@@ -657,6 +657,8 @@ imio/smartweb/core/upgrades/profiles/1068_to_1069/registry.xml,sha256=sno9ubL7f7
657
657
  imio/smartweb/core/upgrades/profiles/1068_to_1069/rolemap.xml,sha256=i0yn1hZ_-5k_5PVi9YMcVY515VDBv_3JaKvecBO_vM4,254
658
658
  imio/smartweb/core/upgrades/profiles/1069_to_1070/taxonomies/procedure_category.cfg,sha256=Q164kppiNOFkWqotf7py4Zh_4MkPqlaAXSg2BYkv9uE,320
659
659
  imio/smartweb/core/upgrades/profiles/1069_to_1070/taxonomies/procedure_category.xml,sha256=Oj6pOa_zK-E1fPRnggbsllC9a0jH0O7-PlQmDuyR6iw,5246
660
+ imio/smartweb/core/upgrades/profiles/1070_to_1071/controlpanel.xml,sha256=BUSnTLS4uKRGO9-Td_mGMGyi4XhdfaLfUW1Ep_W_EAI,814
661
+ imio/smartweb/core/upgrades/profiles/1070_to_1071/registry.xml,sha256=sno9ubL7f7otpToU1exQ52cgci9pB7wfYr9oTm2RWQs,271
660
662
  imio/smartweb/core/viewlets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
661
663
  imio/smartweb/core/viewlets/actions.py,sha256=CUMkS3w_MXOxqOzqp7s3PFCUF-RCrCFsKw3oxv0C37E,1200
662
664
  imio/smartweb/core/viewlets/arcgis_header.pt,sha256=iQc5ZG3g1Cmap963OG-wPotllr7oWmVSMoAnA7tctrQ,3428
@@ -817,10 +819,10 @@ imio/smartweb/core/webcomponents/src/utils/Map.jsx,sha256=EpmA8-iqHIkWrjgjR9JKvZ
817
819
  imio/smartweb/core/webcomponents/src/utils/Map.scss,sha256=DVQ6sUQOKFvLhbcamY6EmSrfWYq61gqaQUZ_YM1Le0Q,343
818
820
  imio/smartweb/core/webcomponents/src/utils/translation.js,sha256=KYomzpin3vMdS_QyK7QF0lBRXho_6WlHnkCJaRJm4N4,10702
819
821
  imio/smartweb/core/webcomponents/src/utils/url.js,sha256=iyl_1QXfPBgUn0LEbZYT_zMEEjmj5DMiEz44Z6AKLcg,244
820
- imio_smartweb_core-1.4.5.dist-info/licenses/LICENSE.GPL,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
821
- imio_smartweb_core-1.4.5.dist-info/licenses/LICENSE.rst,sha256=RzkMFz6AX3-cHd531zd2YQcXai8RIbjFWTs6m66Y5u4,653
822
- imio_smartweb_core-1.4.5.dist-info/METADATA,sha256=7u5ciY2EFUqSumisJ1yrajFtxYGCNP7LLrWTMdzHwyk,66084
823
- imio_smartweb_core-1.4.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
824
- imio_smartweb_core-1.4.5.dist-info/namespace_packages.txt,sha256=Pg8AH8t9viMMW1hJbNZvTy_n2jXG2igIYUpon5RA4Js,19
825
- imio_smartweb_core-1.4.5.dist-info/top_level.txt,sha256=ZktC0EGzThvMTAin9_q_41rzvvfMT2FYbP8pbhSLMSA,5
826
- imio_smartweb_core-1.4.5.dist-info/RECORD,,
822
+ imio_smartweb_core-1.4.6.dist-info/licenses/LICENSE.GPL,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
823
+ imio_smartweb_core-1.4.6.dist-info/licenses/LICENSE.rst,sha256=RzkMFz6AX3-cHd531zd2YQcXai8RIbjFWTs6m66Y5u4,653
824
+ imio_smartweb_core-1.4.6.dist-info/METADATA,sha256=tY1YB0Xd7yYvtq-MlB1ewijyM8yYmR1yZd5o3FuAl1k,66194
825
+ imio_smartweb_core-1.4.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
826
+ imio_smartweb_core-1.4.6.dist-info/namespace_packages.txt,sha256=Pg8AH8t9viMMW1hJbNZvTy_n2jXG2igIYUpon5RA4Js,19
827
+ imio_smartweb_core-1.4.6.dist-info/top_level.txt,sha256=ZktC0EGzThvMTAin9_q_41rzvvfMT2FYbP8pbhSLMSA,5
828
+ imio_smartweb_core-1.4.6.dist-info/RECORD,,