feat(mount): Add permissions to volumes mount#2517
Open
divaltor wants to merge 10 commits intoDokploy:canaryfrom
Open
feat(mount): Add permissions to volumes mount#2517divaltor wants to merge 10 commits intoDokploy:canaryfrom
divaltor wants to merge 10 commits intoDokploy:canaryfrom
Conversation
6acf63d to
3f65856
Compare
…or 0110_majestic_kree
- Introduced new columns `uid` and `gid` of type integer, and `mode` of type text to the `mount` table to enhance permission management. - Updated journal and snapshot files to reflect these schema changes for version 7.
…0121_stale_plazm - Deleted the SQL migration file for `0121_stale_plazm` which included the addition of `uid`, `gid`, and `mode` columns to the `mount` table. - Removed corresponding journal entry to maintain consistency in versioning.
- Introduced new columns `uid`, `gid`, and `mode` to the `mount` table in the SQL migration file `0155_bouncy_jazinda.sql`. - Updated the journal to include the new migration version. - Created a new snapshot file `0155_snapshot.json` to reflect the current database schema.
- Updated the `mode` field in the mount schema to require a regex validation for octal values, ensuring it matches formats like 755 or 0644.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is this PR about?
Add possibility to set custom permissions and mode to attached volume (default GID and UID are 1000:1000, read-only 644 permissions)
Checklist
Before submitting this PR, please make sure that:
canarybranch.Issues related (if applicable)
closes #497
Screenshots (if applicable)