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

the permitted_attributes may need pass current action #2352

Closed
jubilee2 opened this issue Apr 12, 2023 · 2 comments · Fixed by #2356
Closed

the permitted_attributes may need pass current action #2352

jubilee2 opened this issue Apr 12, 2023 · 2 comments · Fixed by #2356

Comments

@jubilee2
Copy link
Contributor

the permitted_attributes may need pass current action to support "FORM_ATTRIBUTES_NEW" and "FORM_ATTRIBUTES_EDIT".

otherwise only go through "FORM_ATTRIBUTES" whatever edit or new action.

@pablobm
Copy link
Collaborator

pablobm commented Apr 13, 2023

Uh, I think you are right. Interestingly, permitted_attributes calls form_attributes, which does accept an action.

Would you be able to provide a PR?

@jubilee2
Copy link
Contributor Author

related #2066

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

Successfully merging a pull request may close this issue.

2 participants