Skip to content

docs(access-rules): define FORMULA contexts for CREATE and UPDATE - #105

Open
Martin187187 wants to merge 1 commit into
admin-shell-io:IDTA-01004-3-2_Workingfrom
Martin187187:issue-98
Open

Martin187187 wants to merge 1 commit into
admin-shell-io:IDTA-01004-3-2_Workingfrom
Martin187187:issue-98

Conversation

@Martin187187

@Martin187187 Martin187187 commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR defines the data against which a FORMULA is evaluated for CREATE and UPDATE operations.

Changes

  • Defines that CREATE evaluates the submitted representations of the objects to be created.
  • Allows relevant existing parent or container objects to remain available to FieldIdentifier resolution during CREATE authorization.
  • Defines that UPDATE evaluates the formula separately against the current state and the prospective resulting state.
  • Requires both UPDATE evaluations to be true before the rule grants permission.
  • Defines the prospective state using the normal semantics of the interface operation, including partial updates and replacements.
  • Leaves the normative operation-to-RIGHT mapping unchanged, including SME POST operations requiring CREATE.

Validation

  • python tools/validate_spec_artifacts.py
  • python -m unittest discover -s tests/query

Closes #98

@Martin187187 Martin187187 changed the title docs(access-rules): define create and update formula contexts (#98) docs(access-rules): define FORMULA contexts for CREATE and UPDATE Sep 3, 2026
@Martin187187
Martin187187 marked this pull request as ready for review September 3, 2026 09:23
@Martin187187

Copy link
Copy Markdown
Collaborator Author

approved by Securtiy TF

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