8000 [BUG] A new page can be edited after creation · Issue #7804 · django-cms/django-cms · GitHub
[go: up one dir, main page]

Skip to content
[BUG] A new page can be edited after creation #7804
Closed
@jrief

Description

@jrief

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0