-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create change on behalf of initiator #74
Create change on behalf of initiator #74
Conversation
I will look at this more deeply, but I am surprised at the mixed design. Impersonation is a mapping property or a rule property? Looks like you can have more than one mapping to the same rule, some with some without, the impersonate flag. One can set the flag at rule level using a directive and this latter wins over the mapping. On the other hand the I would opt for a property defined at rule-level: one can upload the same source twice to create two rules, one with, the other without impersonation. A stretch goal would be to highlight the impersonation configuration in |
you are right, it came during development and thats why I wanted to show the code early to start the discussion here with you about the solution direction. 😃
Yes, that is currently. Afterwards I faced the situation for one rule: This rule should always run impersonated (on behalf of the event trigger identity). So it made sense to me to have the information in rule code (directive) as well, to show it everyone looking at the rule code: This rule is an (always) impersonated one. To summarize, in current code you can decide per mapping if rule should be executed impersonated, or it is in general decided in rule code (which always wins).
This would either be an additional Option or as replacement for the rule directive.
Yes, I am not finished, I also wanted to show this information in the lists commands (either What do you think? |
ef37cd7
to
f7bae18
Compare
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
f7bae18
to
d584ae5
Compare
…apping to run impersonated
…ignature of ListRules from KuduFunction to RuleOutputData
RuleCode allows setting default via directive Configure Impersonation via rule.configure remove impersonation option from add.rule, update.rule reduce compiler messages Extract some types into separate files and beautify code
… than omitting
d584ae5
to
cc0a905
Compare
Provide possibility to apply aggregator changes on behalf of event initiator.
The provided PAT needs to have the appropriate permission to bypass rule validation.
the configuration can be made either
Provides solution for #62