Skip to content

Add restrictions in get_children calls - #896

Merged
peteeckel merged 1 commit into
sys4:mainfrom
cyberwitchery:fix/add-restricts-where-possible
Sep 24, 2026
Merged

peteeckel merged 1 commit into
sys4:mainfrom
cyberwitchery:fix/add-restricts-where-possible

Conversation

@hellerve

Copy link
Copy Markdown
Contributor

This PR extends the get_children calls in the various view files to always restrict() appropriately.

I didn’t add a test case, because I didn’t quite know how and where to best. If you want one, LMK, I’ll try to figure it out.

Cheers

@peteeckel

Copy link
Copy Markdown
Collaborator

Thanks again - testing this is actually a bit tedious. If you can spare the time you can do so, but I'll also be fine without it.

@peteeckel
peteeckel merged commit e1a2335 into sys4:main Sep 24, 2026
5 checks passed
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.

2 participants