provide link for editing work item only to person associated with the work item
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@4192 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
		
							parent
							
								
									c13e6a6d00
								
							
						
					
					
						commit
						d3d6e2b7ef
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -127,7 +127,8 @@ class WorkItemDetails(TrackDetails): | ||||||
|                       target=self.object, |                       target=self.object, | ||||||
|                       addParams=dict(id=self.track.__name__)) |                       addParams=dict(id=self.track.__name__)) | ||||||
|         actions = [info, WorkItemStateAction(self)] |         actions = [info, WorkItemStateAction(self)] | ||||||
|         if self.isLastInRun: |         if (self.isLastInRun and | ||||||
|  |                 self.user['object'] == getPersonForUser(self.object, self.view.request)): | ||||||
|             self.view.registerDojoDateWidget() |             self.view.registerDojoDateWidget() | ||||||
|             self.view.registerDojoNumberWidget() |             self.view.registerDojoNumberWidget() | ||||||
|             self.view.registerDojoTextarea() |             self.view.registerDojoTextarea() | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 helmutm
						helmutm