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

[5.x]: Conditional fields returns to me 403 error #14512

Closed
plcdnl opened this issue Mar 1, 2024 · 5 comments
Closed

[5.x]: Conditional fields returns to me 403 error #14512

plcdnl opened this issue Mar 1, 2024 · 5 comments
Assignees
Labels

Comments

@plcdnl
Copy link

plcdnl commented Mar 1, 2024

What happened?

Registrazione.schermo.2024-03-01.alle.15.02.10.mov

Craft CMS version

5.0.4-beta

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@plcdnl plcdnl added the bug label Mar 1, 2024
@plcdnl
Copy link
Author

plcdnl commented Mar 1, 2024

Solved: #14505 (comment)

@plcdnl plcdnl closed this as completed Mar 1, 2024
@plcdnl
Copy link
Author

plcdnl commented Mar 1, 2024

Sorry that fix doesn't solve my problem!

@plcdnl plcdnl reopened this Mar 1, 2024
@tommysvr
Copy link

tommysvr commented Mar 4, 2024

Received files in support and I'm able to reproduce on a fresh Beta 5 install:

  • It's happening on a Matrix field; add an Entry Type with a Lightswitch and a Text Field conditionally shown based on the Lightswitch
  • That works fine
  • Set 'Max Entries' to 1 on the Matrix Field and you'll get a 403 User not authorized to create this element. error in the console

Project files to reproduce from:
project.zip

@i-just
Copy link
Contributor

i-just commented Mar 4, 2024

Thanks, Tommy! I raised a PR for it.

@brandonkelly
Copy link
Member

Craft 5.0.0-beta.6 is out with that fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants