change default, remove leftover
This commit is contained in:
@@ -920,7 +920,7 @@ If True it can be forbidden by permissions per section with: d
|
||||
|
||||
(New since 3.3.0)
|
||||
|
||||
Global control of permission to overwrite complete collection (default: False)
|
||||
Global control of permission to overwrite complete collection (default: True)
|
||||
|
||||
If False it can be permitted by permissions per section with: O
|
||||
If True it can be forbidden by permissions per section with: o
|
||||
|
||||
2
config
2
config
@@ -116,7 +116,7 @@
|
||||
#permit_delete_collection = True
|
||||
|
||||
# Permit overwrite of a collection (global)
|
||||
#permit_overwrite_collection = False
|
||||
#permit_overwrite_collection = True
|
||||
|
||||
[storage]
|
||||
|
||||
|
||||
@@ -246,7 +246,7 @@ DEFAULT_CONFIG_SCHEMA: types.CONFIG_SCHEMA = OrderedDict([
|
||||
"help": "permit delete of a collection",
|
||||
"type": bool}),
|
||||
("permit_overwrite_collection", {
|
||||
"value": "False",
|
||||
"value": "True",
|
||||
"help": "permit overwrite of a collection",
|
||||
"type": bool}),
|
||||
("file", {
|
||||
|
||||
@@ -41,7 +41,6 @@ class TestBaseRequests(BaseTest):
|
||||
def setup_method(self) -> None:
|
||||
BaseTest.setup_method(self)
|
||||
rights_file_path = os.path.join(self.colpath, "rights")
|
||||
self.configure({"rights": {"permit_delete_collection": True}})
|
||||
with open(rights_file_path, "w") as f:
|
||||
f.write("""\
|
||||
[permit delete collection]
|
||||
|
||||
Reference in New Issue
Block a user