Expose user permissions for timelog entries
What does this MR do and why?
Related to #356796.
This MR is a follow up of !83928 (merged).
This MR adds the permissions that the querying user has for each timelog entry.
Screenshots or screen recordings
How to set up and validate locally
- Add some time spent to an issueable
- Run the GraphQL query
query {
issue(id: "<issuable_id>") {
timelogs {
nodes {
userPermissions {
adminTimelog
}
}
}
}
}
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Marco Zille