mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-04-20 19:38:39 +00:00
Additional tests for aptly repo include. #71
This commit is contained in:
7
system/changes/uploaders1.json
Normal file
7
system/changes/uploaders1.json
Normal file
@@ -0,0 +1,7 @@
|
||||
// no groups, no rules => deny all
|
||||
{
|
||||
"groups": {
|
||||
},
|
||||
"rules": [
|
||||
]
|
||||
}
|
||||
14
system/changes/uploaders2.json
Normal file
14
system/changes/uploaders2.json
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
{
|
||||
"groups": {
|
||||
"developers": ["21DBB89C16DB3E6D", "37E1C17570096AD1"],
|
||||
},
|
||||
"rules": [
|
||||
{ "condition": "Source (dangerous) | Source (kernel)",
|
||||
"deny": ["*"],
|
||||
},
|
||||
{ "condition": "Source (hardlink)",
|
||||
"allow": ["developers", "admins"],
|
||||
}
|
||||
]
|
||||
}
|
||||
1
system/changes/uploaders3.json
Normal file
1
system/changes/uploaders3.json
Normal file
@@ -0,0 +1 @@
|
||||
{
|
||||
14
system/changes/uploaders4.json
Normal file
14
system/changes/uploaders4.json
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
{
|
||||
"groups": {
|
||||
"developers": ["21DBB89C16DB3E6D", "37E1C17570096AD1"],
|
||||
},
|
||||
"rules": [
|
||||
{ "condition": "Source (dangerous) | Source (kernel)",
|
||||
"deny": ["*"],
|
||||
},
|
||||
{ "condition": "Source (hardlink",
|
||||
"allow": ["developers", "admins"],
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user