-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add granular access control for nix store #9287
base: master
Are you sure you want to change the base?
Commits on Nov 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 20e574e - Browse repository at this point
Copy the full SHA 20e574eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 337a127 - Browse repository at this point
Copy the full SHA 337a127View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5024921 - Browse repository at this point
Copy the full SHA 5024921View commit details -
Configuration menu - View commit details
-
Copy full SHA for 552e4e5 - Browse repository at this point
Copy the full SHA 552e4e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61a3cea - Browse repository at this point
Copy the full SHA 61a3ceaView commit details
Commits on Nov 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0be3e5d - Browse repository at this point
Copy the full SHA 0be3e5dView commit details
Commits on Nov 14, 2023
-
This commit also enables acls in tests/init.sh which is common for all the tests. Maybe there is a way to only enable it for acls tests. Co-Authored-By: Alexander Bantyev <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bd56e3e - Browse repository at this point
Copy the full SHA bd56e3eView commit details
Commits on Nov 15, 2023
-
acls grant/revoke: Error if group or user does not exists
The User (resp Group) constructor will check the return value of getpwnam (resp getgrnam) and fail with an error message in case of error.
Configuration menu - View commit details
-
Copy full SHA for db3a522 - Browse repository at this point
Copy the full SHA db3a522View commit details
Commits on Nov 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for aba3181 - Browse repository at this point
Copy the full SHA aba3181View commit details
Commits on Nov 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8dbea38 - Browse repository at this point
Copy the full SHA 8dbea38View commit details
Commits on Nov 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 14e474c - Browse repository at this point
Copy the full SHA 14e474cView commit details
Commits on Nov 23, 2023
-
Acls: Refactor integration tests
- comment out failing tests - split the test script in multiple strings - add a test that should fail if a permission is missing from a direct runtime dependency
Configuration menu - View commit details
-
Copy full SHA for afd828b - Browse repository at this point
Copy the full SHA afd828bView commit details -
Acls: disable non integration tests for now
These require enabling `acls` for all the tests (even non acls ones). Which fails at the moment (but should not).
Configuration menu - View commit details
-
Copy full SHA for 5d97559 - Browse repository at this point
Copy the full SHA 5d97559View commit details
Commits on Nov 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 65fe86f - Browse repository at this point
Copy the full SHA 65fe86fView commit details -
Configuration menu - View commit details
-
Copy full SHA for db20d22 - Browse repository at this point
Copy the full SHA db20d22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1102fdd - Browse repository at this point
Copy the full SHA 1102fddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6293167 - Browse repository at this point
Copy the full SHA 6293167View commit details
Commits on Dec 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9d6c011 - Browse repository at this point
Copy the full SHA 9d6c011View commit details -
Acls: explicitely access future or current permissions
Before this, the getAccessStatus/setAccessStatus functions were testing the presence of the path to decide whether to access the current or future permissions. This can be incorrect if the path is already present at the start of the build. So we now decide at call site which set of permission to use.
Configuration menu - View commit details
-
Copy full SHA for 1ed4965 - Browse repository at this point
Copy the full SHA 1ed4965View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9e2c4b - Browse repository at this point
Copy the full SHA f9e2c4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c625b0 - Browse repository at this point
Copy the full SHA 0c625b0View commit details -
Acls: Add ShouldSync path status
If a path was already present at the beginning of the build, it does not need to be added to the store so its permissions may not be updated. We add a check to compate future and current permissions and repair the paths if needed to synchronize the permission.
Configuration menu - View commit details
-
Copy full SHA for 7ea4b05 - Browse repository at this point
Copy the full SHA 7ea4b05View commit details
Commits on Dec 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a3d3b71 - Browse repository at this point
Copy the full SHA a3d3b71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f8eef5 - Browse repository at this point
Copy the full SHA 5f8eef5View commit details
Commits on Dec 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2c00ec5 - Browse repository at this point
Copy the full SHA 2c00ec5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 228d8af - Browse repository at this point
Copy the full SHA 228d8afView commit details
Commits on Dec 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fccba28 - Browse repository at this point
Copy the full SHA fccba28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7653b07 - Browse repository at this point
Copy the full SHA 7653b07View commit details
Commits on Dec 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3994ce1 - Browse repository at this point
Copy the full SHA 3994ce1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a4914d - Browse repository at this point
Copy the full SHA 3a4914dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd72876 - Browse repository at this point
Copy the full SHA cd72876View commit details
Commits on Dec 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for eff385d - Browse repository at this point
Copy the full SHA eff385dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b66941 - Browse repository at this point
Copy the full SHA 4b66941View commit details -
Configuration menu - View commit details
-
Copy full SHA for 985fe93 - Browse repository at this point
Copy the full SHA 985fe93View commit details -
Acls: AccessStatus setter/getter
If a path already exists, set permissions right away instead of writing them to the future permissions map and synchronize latter.
Configuration menu - View commit details
-
Copy full SHA for 0b92adf - Browse repository at this point
Copy the full SHA 0b92adfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 834219a - Browse repository at this point
Copy the full SHA 834219aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9d3f55 - Browse repository at this point
Copy the full SHA f9d3f55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96cb115 - Browse repository at this point
Copy the full SHA 96cb115View commit details
Commits on Dec 15, 2023
-
Acls: permission check when importing a folder with builtins.path
If a folder was already imported to the store and we do not have permission to this store path, we may be able to edit the permissions if we have read access to all the files of this folder.
Configuration menu - View commit details
-
Copy full SHA for 2820eb4 - Browse repository at this point
Copy the full SHA 2820eb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1912d8 - Browse repository at this point
Copy the full SHA c1912d8View commit details
Commits on Dec 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9c75782 - Browse repository at this point
Copy the full SHA 9c75782View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ee4043 - Browse repository at this point
Copy the full SHA 8ee4043View commit details -
Configuration menu - View commit details
-
Copy full SHA for af84767 - Browse repository at this point
Copy the full SHA af84767View commit details -
Configuration menu - View commit details
-
Copy full SHA for f967eb6 - Browse repository at this point
Copy the full SHA f967eb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d167252 - Browse repository at this point
Copy the full SHA d167252View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53c8eb5 - Browse repository at this point
Copy the full SHA 53c8eb5View commit details
Commits on Dec 21, 2023
-
Acls: reactivate ensureAccess and move the call to setAccessStatus
This way we only call ensureAccess in cases where the permissions are updated. In particular, we do not want to call ensureAccess if you depend on an already built derivation you could not build yourself, but want to use its public outputs.
Configuration menu - View commit details
-
Copy full SHA for 8841d0d - Browse repository at this point
Copy the full SHA 8841d0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f63760 - Browse repository at this point
Copy the full SHA 9f63760View commit details -
Configuration menu - View commit details
-
Copy full SHA for 045f1e8 - Browse repository at this point
Copy the full SHA 045f1e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e90e479 - Browse repository at this point
Copy the full SHA e90e479View commit details -
Configuration menu - View commit details
-
Copy full SHA for df135f2 - Browse repository at this point
Copy the full SHA df135f2View commit details
Commits on Jan 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d14704c - Browse repository at this point
Copy the full SHA d14704cView commit details
Commits on Jan 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 51419e5 - Browse repository at this point
Copy the full SHA 51419e5View commit details
Commits on Feb 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5ef3f14 - Browse repository at this point
Copy the full SHA 5ef3f14View commit details
Commits on Feb 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7a49064 - Browse repository at this point
Copy the full SHA 7a49064View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5f8a40 - Browse repository at this point
Copy the full SHA c5f8a40View commit details
Commits on Feb 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5333b25 - Browse repository at this point
Copy the full SHA 5333b25View commit details
Commits on Feb 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9ca2e82 - Browse repository at this point
Copy the full SHA 9ca2e82View commit details
Commits on Mar 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a8ff15f - Browse repository at this point
Copy the full SHA a8ff15fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 946f4f7 - Browse repository at this point
Copy the full SHA 946f4f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d5bbbc - Browse repository at this point
Copy the full SHA 5d5bbbcView commit details