Commit a7cbeddb authored by Marco Mariani's avatar Marco Mariani

whitelisted for restore: open, VirtualFile.writetoid, os.utime

parent 64b00544
...@@ -150,7 +150,11 @@ def set_allowed_requests(sec_level): ...@@ -150,7 +150,11 @@ def set_allowed_requests(sec_level):
"HLDestinationStruct.patch_and_finalize", "HLDestinationStruct.patch_and_finalize",
"HLDestinationStruct.patch_increment_and_finalize", "HLDestinationStruct.patch_increment_and_finalize",
"Main.backup_touch_curmirror_local", "Main.backup_touch_curmirror_local",
"Globals.ITRB.increment_stat"]) "Globals.ITRB.increment_stat",
"open",
"VirtualFile.writetoid",
"os.utime",
])
if sec_level == "read-only" or sec_level == "all": if sec_level == "read-only" or sec_level == "all":
l.extend(["fs_abilities.get_fsabilities_readonly", l.extend(["fs_abilities.get_fsabilities_readonly",
"fs_abilities.get_fsabilities_restoresource", "fs_abilities.get_fsabilities_restoresource",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment