refactor: remove dead permission_codename param from _resolve_document_ids

The keyword param was unused in the method body since an earlier commit
switched it to call permitted_document_ids(user) internally. None of the
3 call sites passed it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
stumpylogandClaude Sonnet 5 committed 2026-08-02 20:17:59 -07:00
1 parent d5b383668f
commit 5f93da50ba
1 file changed
-1
-1
View File
@@ -2727,7 +2727,6 @@ class DocumentSelectionMixin:
*,
user: User,
validated_data: dict[str, Any],
permission_codename: str = "view_document",
) -> list[int]:
if not validated_data.get("all", False):
# if all is not true, just pass through the provided document ids