J茅r么me Viveret
05/13/2024, 3:14 PM_lakefs_actions
as it seems legitimate to enforce company wide data policies.
Can a strategy based on RBAC and policies allow this, typically
{
"statement": [
{
"action": [
"fs:WriteObject",
"fs:DeleteObject"
],
"effect": "deny",
"resource": "arn:lakefs:fs:::repository/<repository-name>/object/_lakefs_actions*"
}
]
}
?Iddo Avneri
05/13/2024, 6:19 PMIddo Avneri
05/13/2024, 6:19 PMIddo Avneri
05/13/2024, 6:41 PMadmin1Client.auth.create_policy(
policy=models.Policy(
id='FSBlockAccessToPIIData',
statement=[models.Statement(
effect="deny",
resource="arn:lakefs:fs:::repository/"+repo+"/object/PII/*",
action=["fs:*"],
),
]
)
)
The only difference @Amit Kesarwani and I noticed is that there is a /
before the *
. You might want to add that.J茅r么me Viveret
05/14/2024, 6:39 AMJ茅r么me Viveret
05/14/2024, 7:01 AMAriel Shaqed (Scolnicov)
05/14/2024, 2:46 PM