Skip to content

Implement file access policy in persisting-control - #4

Open
reiase wants to merge 1 commit into
mainfrom
feature/zcode_visor
Open

reiase wants to merge 1 commit into
mainfrom
feature/zcode_visor

Conversation

@reiase

@reiase reiase commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator
  • Added a new file_access.rs module to define FileAccessPolicy and FileAccessRules, enabling granular control over file access permissions.
  • Integrated FileAccessPolicy into the OverlayRecord and OverlayFsSettings structures to enforce access rules during file operations.
  • Updated the OverlayCore to utilize the new access policy for validating file visibility and permissions.
  • Enhanced tests to validate the behavior of the file access policy, ensuring correct enforcement of deny and warn rules.
  • Updated Cargo.toml and Cargo.lock to include new dependencies for globset and serde_json for pattern matching and serialization support.

- Added a new `file_access.rs` module to define `FileAccessPolicy` and `FileAccessRules`, enabling granular control over file access permissions.
- Integrated `FileAccessPolicy` into the `OverlayRecord` and `OverlayFsSettings` structures to enforce access rules during file operations.
- Updated the `OverlayCore` to utilize the new access policy for validating file visibility and permissions.
- Enhanced tests to validate the behavior of the file access policy, ensuring correct enforcement of deny and warn rules.
- Updated `Cargo.toml` and `Cargo.lock` to include new dependencies for `globset` and `serde_json` for pattern matching and serialization support.
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