Content
View differences
Updated by Parimal Satyal about 4 years ago
**As an** OpenProject user
**I want to** log time for other users
**so that** I can take over the task if the user does not have access to the system.
### **Acceptance criteria**
#### **Permissions**
* There is a separate permission to log time for another user 'Log time for other users'.
* The current permission is renamed to “Log own time.”
#### **Log time modal**
In the "log time" modal:
* There is a new select field called “Resource", with autocomplete, showing all project members
* This field is only visible for users who have the 'Log time for other users' permission.
* **\[open\]** Do we have an existing word/string that is better than 'Resource' for this?
* By default, this field shows the name of the person opening the modal (current user).
#### Time/cost report table
* There is a new column "Logged by", showing who made the entry.
* This could be a third user who has "log time for other users" permission, or the resource themselves.
#### Out of scope
* For 12.1, there is no "journaling", or a history edits made to a time. Only the last edit is conserved.
* This means that if user X modifies a time logged by Y, that entry will consequently show Y in the "Logged by" column.
### Visuals
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/30813/content"></div><figcaption class="op-uc-figure--description">The log time modal with Resource field</figcaption></figure>
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/30815/content"></div><figcaption class="op-uc-figure--description">Log time, searching for a resource using autocomplete</figcaption></figure>
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/30812/content"></div><figcaption class="op-uc-figure--description">Logging time for another user</figcaption></figure>
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/30816/content"></div><figcaption class="op-uc-figure--description">The logged time table has a new column called <strong>Logged by</strong></figcaption></figure>
### Open
* Use the vertical (standard design system) form instead?
* Is there are a use-case / need for a form element with the label on the left side?
_Visual of the vertical form:_
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/31098/content"></div></figure>
### Figma screens
All Figma screens available here:
[https://www.figma.com/file/xRFTkBJYxQJxwAf9fd3oM1/Log-time-for-others?node-id=0%3A1](https://www.figma.com/file/xRFTkBJYxQJxwAf9fd3oM1/Log-time-for-others?node-id=0%3A1) &amp;quot;Logged by&amp;quot;</figcaption></figure>
**I want to** log time for other users
**so that** I can take over the task if the user does not have access to the system.
### **Acceptance criteria**
#### **Permissions**
* There is a separate permission to log time for another user 'Log time for other users'.
* The current permission is renamed to “Log own time.”
#### **Log time modal**
In the "log time" modal:
* There is a new select field called “Resource", with autocomplete, showing all project members
* This field is only visible for users who have the 'Log time for other users' permission.
* **\[open\]** Do we have an existing word/string that is better than 'Resource' for this?
* By default, this field shows the name of the person opening the modal (current user).
#### Time/cost report table
* There is a new column "Logged by", showing who made the entry.
* This could be a third user who has "log time for other users" permission, or the resource themselves.
#### Out of scope
* For 12.1, there is no "journaling", or a history edits made to a time. Only the last edit is conserved.
* This means that if user X modifies a time logged by Y, that entry will consequently show Y in the "Logged by" column.
### Visuals
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/30813/content"></div><figcaption class="op-uc-figure--description">The log time modal with Resource field</figcaption></figure>
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/30815/content"></div><figcaption class="op-uc-figure--description">Log time, searching for a resource using autocomplete</figcaption></figure>
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/30812/content"></div><figcaption class="op-uc-figure--description">Logging time for another user</figcaption></figure>
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/30816/content"></div><figcaption class="op-uc-figure--description">The logged time table has a new column called <strong>Logged by</strong></figcaption></figure>
### Open
* Use the vertical (standard design system) form instead?
* Is there are a use-case / need for a form element with the label on the left side?
_Visual of the vertical form:_
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/31098/content"></div></figure>
### Figma screens
All Figma screens available here:
[https://www.figma.com/file/xRFTkBJYxQJxwAf9fd3oM1/Log-time-for-others?node-id=0%3A1](https://www.figma.com/file/xRFTkBJYxQJxwAf9fd3oM1/Log-time-for-others?node-id=0%3A1)