You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can I ask when we run the report/script, the jobresult (log) is created in the admin interface, but if the same user execute the same script, is the job result will be overriden? For example,
User A run report A, generate JobResult id=1.
User A run report B/script A, generate Job result id=2, Job result id=1 is deleted.
According to #4981, the jobresult instance is ephemeral. I'm not sure the behavior above is a bug or expected output.
In my use case, I set a power permission user/admin to do automate task or validate source of truth.
For example, the user can execute the custom script to create a virtual machine, interface and IP address using the power admission user/admin API, by giving minimal permission like read only function on virtualization model. This will prevent the user to create virtual machine without IP address (in our user case). Therefore, the changelog itself may not enough to determine who is the one creating the object because it is using the power permission user API to create, so the changelog will be owned by power user. Then, I expected jobresult to track who is the user that executing the script to create object instead of storing the jobresult in external system or using external notification. So, may need to clarify the jobresult behavior.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Can I ask when we run the report/script, the jobresult (log) is created in the admin interface, but if the same user execute the same script, is the job result will be overriden? For example,
User A run report A, generate JobResult id=1.
User A run report B/script A, generate Job result id=2, Job result id=1 is deleted.
According to #4981, the jobresult instance is ephemeral. I'm not sure the behavior above is a bug or expected output.
In my use case, I set a power permission user/admin to do automate task or validate source of truth.
For example, the user can execute the custom script to create a virtual machine, interface and IP address using the power admission user/admin API, by giving minimal permission like read only function on virtualization model. This will prevent the user to create virtual machine without IP address (in our user case). Therefore, the changelog itself may not enough to determine who is the one creating the object because it is using the power permission user API to create, so the changelog will be owned by power user. Then, I expected jobresult to track who is the user that executing the script to create object instead of storing the jobresult in external system or using external notification. So, may need to clarify the jobresult behavior.
Beta Was this translation helpful? Give feedback.
All reactions