- Issue created by @wim leers
- ๐ซ๐ฎFinland lauriii Finland
This looks like a solid plan. We can do this in XB first but this is probably something core should handle for us. Ideally, even the "bypass node access" wouldn't be able to bypass this but we can leave that to the core issue.
- ๐ซ๐ฎFinland lauriii Finland
Would be good to create the issues for the XB UI work as well.
- Merge request !768Issue #3506434: Removed delete option for node set as homepage โ (Closed) created by Unnamed author
- ๐ฎ๐ณIndia anjali rathod India
Since there is no entitylistbuilder implementation for xb page content type, I went ahead with the approach I could think of. @wim leers please let me know if this is okay or should I create a entitylistbuilder and make the changes accordingly?
Thank you! - ๐ฎ๐ณIndia anjali rathod India
Adding screenshots for how the navigation menu for a page set as homepage looks and how the navigation menu for a page not set as homepage looks like..
I have removed the set as homepage link along with the delete page link from navigation menu for the page set as homepage. For other pages there is no changes.
- ๐ฎ๐ณIndia roshni upadhyay
roshni upadhyay โ made their first commit to this issueโs fork.
- ๐ช๐ธSpain penyaskito Seville ๐, Spain ๐ช๐ธ, UTC+2 ๐ช๐บ
Reviewed. To note, some parts of this were expected to happen in โจ Create React Permission Utilities Active and ๐ Update `ApiContentControllers::list()` to expose available content entity operations in `meta` Active Tempted to postpone on those.
- Issue was unassigned.
- Status changed to Needs work
3 months ago 11:06am 22 April 2025 - ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
Significant parts of feedback have not yet been addressed, and it's still unnecessarily making private APIs public.
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
This was marked but CI is not passing.
The sole failure is
Drupal\Tests\experience_builder\Functional\XbContentEntityHttpApiTest::testList()
:Array ( - 0 => 'experience_builder__auto_save' - 1 => 'http_response' - 2 => 'xb_page_list' + 0 => 'config:system.site' + 1 => 'experience_builder__auto_save' + 2 => 'http_response' + 3 => 'xb_page:1' + 4 => 'xb_page:2' + 5 => 'xb_page:3' + 6 => 'xb_page_list' )
but โฆ this is still using the approach I pushed back against >1 months ago. My feedback from April 10 has not been addressed.
Independently of me, @penyaskito posted similar observations in #12.
- ๐ช๐ธSpain penyaskito Seville ๐, Spain ๐ช๐ธ, UTC+2 ๐ช๐บ
Updated proposed resolution now that ๐ Update `ApiContentControllers::list()` to expose available content entity operations in `meta` Active landed.
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
#19++ โ thanks, @penyaskito! ๐
Closed the existing MR 768 because per #19: a lot is different now :)
(Plus, keeping commit history since March around is going to make things unnecessarily painful. Just copy over whatever bits are relevant. Credited @anjali rathod for their many commits to that MR.)
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
This does not seem like a beta blocker to me?
- Merge request !1145issue#3506434: Disallow deleting an XB-enabled content entity if it's currently the homepage. โ (Merged) created by amangrover90
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
Thanks! Much simpler now! ๐ฅณ
At minimum, cacheability is missing from the access results (and hence the test coverage).
- ๐ฎ๐ณIndia amangrover90
@wim-leers I've responded to your comments, can you plz check once?
- ๐บ๐ธUnited States mglaman WI, USA
Marking needs review so we can discuss if cacheability is needed for a non-cacheable HTTP method
- Assigned to penyaskito
- Status changed to Needs review
18 days ago 9:16am 24 June 2025 - ๐ช๐ธSpain penyaskito Seville ๐, Spain ๐ช๐ธ, UTC+2 ๐ช๐บ
Removing needs follow-up, โจ Create React Permission Utilities Active exists already.
- ๐ช๐ธSpain penyaskito Seville ๐, Spain ๐ช๐ธ, UTC+2 ๐ช๐บ
I contributed significantly to this, so @mglaman will do another review pass before passing this to Wim.
- ๐ช๐ธSpain penyaskito Seville ๐, Spain ๐ช๐ธ, UTC+2 ๐ช๐บ
RTBCing.
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
๐ Ensure duplicated pages don't retain path alias of original entity Active landed and conflicts with this. ๐ซฃ
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
Was going to merge, then spotted one last bug: https://git.drupalcode.org/project/experience_builder/-/merge_requests/1... ๐
Iโm okay with not adding test coverage, if you apply the suggestion and agree with that proposal ๐
- ๐ช๐ธSpain penyaskito Seville ๐, Spain ๐ช๐ธ, UTC+2 ๐ช๐บ
+1. Added a test.
-
wim leers โ
committed 5221fe6c on 0.x authored by
amangrover90 โ
Issue #3506434 by anjali rathod, amangrover90, penyaskito, wim leers,...
-
wim leers โ
committed 5221fe6c on 0.x authored by
amangrover90 โ
Automatically closed - issue fixed for 2 weeks with no activity.