Skip to content
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

[BUG] A new page can be edited after creation #7804

Open
1 of 2 tasks
jrief opened this issue Feb 2, 2024 · 0 comments
Open
1 of 2 tasks

[BUG] A new page can be edited after creation #7804

jrief opened this issue Feb 2, 2024 · 0 comments

Comments

@jrief
Copy link
Contributor

jrief commented Feb 2, 2024

Description

If a non-superuser creates a new page, he's unable to immediately edit that page. Instead he has to publish that empty page and immediately create some new page-content.

This looks like a cache invalidation problem on page permissions.

Steps to reproduce

  • Login in as non-superuser.
  • On a page with edit permissions, create a sub-page.
  • After submitting, the user is redirected onto that sub-page.

Now, one would expect that the toolbar offers the icon to change into structure mode, but that's not the case.

Expected behaviour

That the new empty page offers the icon to enter structure-mode, so that a user is able to edit them instantly.

Actual behaviour

see above.

Screenshots

neue_seite_bearbeiten.mp4

Additional information (CMS/Python/Django versions)

Django-CMS-4.1.0 (faa71b7)

Do you want to help fix this issue?

unfortunately, I was unable to find the real issue but it looks like a permission problem.

  • Yes, I want to help fix this issue and I will join #workgroup-pr-review on Slack to confirm with the community that a PR is welcome.
  • No, I only want to report the issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants