Skip to content

Conversation

@alexskr
Copy link
Member

@alexskr alexskr commented Aug 8, 2025

alexskr added 7 commits August 6, 2025 09:45
Introduce declarative enforcement for system-controlled attributes to prevent clients from setting internal fields (e.g., uploadFilePath, creator, resetTokenExpireTime).

- Models can now declare system-controlled fields using `system_controlled` DSL in ontologies_linked_data
- Enforcement occurs in `populate_from_params`, not controllers
- system_controlled params are stripped automatically from user input
- `creator` is assigned from `current_user` if applicable and not provided
@alexskr alexskr marked this pull request as ready for review August 8, 2025 20:29
@alexskr alexskr merged commit c01aba6 into master Aug 8, 2025
5 checks passed
@codecov-commenter
Copy link

codecov-commenter commented Aug 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.74%. Comparing base (acddf34) to head (158cb53).
⚠️ Report is 8 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #194      +/-   ##
==========================================
+ Coverage   73.69%   73.74%   +0.05%     
==========================================
  Files          63       63              
  Lines        3269     3276       +7     
==========================================
+ Hits         2409     2416       +7     
  Misses        860      860              
Flag Coverage Δ
unittests 73.74% <100.00%> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

3 participants