treeverse / lakeFS

lakeFS - Data version control for your data lake | Git for data
https://docs.lakefs.io
Apache License 2.0
4.44k stars 353 forks source link

Docs: Add a section in LUA hooks explaining the required user permissions to execute them #7076

Open N-o-Z opened 11 months ago

N-o-Z commented 11 months ago

It is not clear - what are the implications of using LUA hooks with scripts on the ability of a user to perform an operation. For example: Say we configure a pre create branch LUA action that runs a certain script. In addition we configure a user with permissions to create branch only (no read permission to objects) In this scenario the user would not be able to create the branch since they will fail on the pre create branch hook due to permissions trying to read the script

nopcoder commented 11 months ago

@treeverse/product your input - do we need to enable hook execution regardless to the user's permissions? or document the required permissions based on the hook's operations.

github-actions[bot] commented 8 months ago

This issue is now marked as stale after 90 days of inactivity, and will be closed soon. To keep it, mark it with the "no stale" label.

N-o-Z commented 8 months ago

@talSofer @ozkatz