forked from TrueCloudLab/frostfs-testcases
[#325] Remove basic-acl from policy tests
Signed-off-by: a.berezin <a.berezin@yadro.com>
This commit is contained in:
parent
91cd71de19
commit
d8a3f51787
4 changed files with 963 additions and 838 deletions
|
@ -1,4 +1,5 @@
|
|||
from dataclasses import dataclass
|
||||
from functools import partial
|
||||
|
||||
from frostfs_testlib.steps.cli.container import DEFAULT_PLACEMENT_RULE
|
||||
from frostfs_testlib.storage.cluster import Cluster
|
||||
|
@ -53,6 +54,7 @@ class ContainerRequest:
|
|||
return f"({', '.join(spec_info)})"
|
||||
|
||||
|
||||
PUBLIC_WITH_POLICY = partial(ContainerRequest, ape_rules=APE_EVERYONE_ALLOW_ALL, short_name="Custom_policy_with_allow_all_ape_rule")
|
||||
EVERYONE_ALLOW_ALL = ContainerRequest(policy=DEFAULT_PLACEMENT_RULE, ape_rules=APE_EVERYONE_ALLOW_ALL, short_name="Everyone_Allow_All")
|
||||
OWNER_ALLOW_ALL = ContainerRequest(policy=DEFAULT_PLACEMENT_RULE, ape_rules=APE_OWNER_ALLOW_ALL, short_name="Owner_Allow_All")
|
||||
PRIVATE = ContainerRequest(policy=DEFAULT_PLACEMENT_RULE, ape_rules=[], short_name="Private_No_APE")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue