Open N-o-Z opened 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.
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.
@talSofer @ozkatz
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