fix: #3623202 Send content editors to their dashboard after login and list every Webship content type under Add content
Closes https://www.drupal.org/project/webdash/issues/3623202
The Web Dashboard recipe turns on "Redirect to the dashboard after login", so people who can view a dashboard land on theirs: content editors on the Editorial dashboard. The "Add content" block of the Editorial dashboard lists Webpage, Web Blog, Web Doc, Product and Release. Content types that don't exist, or that the user can't create, are left out by the block.
Tested on a Webship Starter install through the Webship installer, with this branch as a path repository:
- A content editor logging in through the login form lands on
/webdashboard/editorial(before:/user/N). - "Add content" on the Editorial dashboard links to Product, Release, Web Doc and Webpage (before: Webpage only). Web Blog is not a content type of Webship Starter.
config:inspectshows no new errors, and no errors were logged.
Checkpoints
- Issue linked
- Tested locally
- CI pipeline green
- Code review by maintainers
AI-Generated: Yes
Edited by Rajab Natshah