Skip to content

Fixed \#15759 - Excluded formset fields by per-object permissions #19743

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

artirix1927
Copy link
Contributor

@artirix1927 artirix1927 commented Aug 18, 2025

ticket-15759

Fixed handling of list_editable fields in the Django admin for objects with per-object permissions. Updated changelist formset logic to remove editable fields for objects the user cannot change, ensuring that form submissions only update permitted objects and preventing permission-related crashes.

Checklist

  • This PR targets the main branch.
  • The commit message is written in past tense, mentions the ticket number, and ends with a period.
  • I have checked the "Has patch" ticket flag in the Trac system.
  • I have added or updated relevant tests.
  • I have added or updated relevant docs, including release notes if applicable.
  • I have attached screenshots in both light and dark modes for any UI changes.

@artirix1927 artirix1927 changed the title Fixed #15759 - Excluded formset fields by per-object permissions Fixed # 15759 - Excluded formset fields by per-object permissions Aug 18, 2025
@github-actions github-actions bot added the no ticket Based on PR title, no linked Trac ticket label Aug 18, 2025
@artirix1927 artirix1927 changed the title Fixed # 15759 - Excluded formset fields by per-object permissions Fixed #15759 - Excluded formset fields by per-object permissions Aug 18, 2025
@github-actions github-actions bot removed the no ticket Based on PR title, no linked Trac ticket label Aug 18, 2025
@artirix1927 artirix1927 changed the title Fixed #15759 - Excluded formset fields by per-object permissions Fixed \#15759 - Excluded formset fields by per-object permissions Aug 18, 2025
@artirix1927 artirix1927 force-pushed the ticket_15759 branch 5 times, most recently from 49d2c0f to c35c902 Compare August 18, 2025 09:11
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 this pull request may close these issues.

1 participant