-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Navigation block: Use inherit and a parent for navigation posts. #37302
base: trunk
Are you sure you want to change the base?
Conversation
This comment has been minimized.
This comment has been minimized.
Size Change: +240 B (0%) Total Size: 1.11 MB
ℹ️ View Unchanged
|
👋🏻 |
@draganescu Never mind that feedback. |
Would this mean a navigation menu can only be used in a single template part? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Firstly thank you for exploring this so quickly.
Based on your conversation with @TimothyBJacobs, it seems the approach may need further discussion.
I tried testing and found that this doesn't appear to fully solve #36286. Specifically the Nav items aren't saved - still get 403
cannot publish - and thus disappear when you refresh.
Screen.Capture.on.2021-12-14.at.09-53-49.mp4
It would be really helpful to contributors not privy to Slack discussion if there were specific test instructions here. I appreciate there's an outline of instructions in the Issue but this PR deals with very specific permissions testing and I think having test instructions listed would help to get sufficient traction with reviewers.
Let's continue exploring this route alongside our other options.
Description
Based on a discussion found here.
In short, force all navigation posts to have a parent and status inherit. Meaning that permission are inherited from the original fix. This fixes #36286 and also handles the case of none public / private post with embedded navigations.
How has this been tested?
Screenshots
Types of changes
Checklist:
*.native.js
files for terms that need renaming or removal).