History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CIB-1693
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: 3 3
Assignee: Daniel Ostermeier
Reporter: TQ Berg
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Pulse

Unfriendly error when a user doesn't have trigger and write permissions

Created: 29/Oct/08 08:22 PM   Updated: 06/Nov/08 12:33 PM
Return to search
Component/s: None
Affects Version/s: 2.0.13
Fix Version/s: 2.0.15

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
If a user tries to manually trigger a build that has build properties associated with it and the user has trigger but not write permissions, the user will get this error:

HTTP ERROR: 401
Unauthorized
RequestURI=/triggerBuild.action

Powered by Jetty://

Something more friendly would be better. Also, from a project admin's perspective, it isn't clear that trigger perms also need write perms.

 All   Comments   Work Log   Change History      Sort Order:
Daniel Ostermeier - 30/Oct/08 01:27 AM
This is in part related to http://forums.zutubi.com/viewtopic.php?f=4&t=1792, where the project checks that you can write to it since you may be editing the properties. Fixing the property persistence issue will partially fix this by likely removing the need to check for the write permission since we will no longer be writing to the project.

TQ Berg - 05/Nov/08 11:19 PM
Does a JIRA issue exist for fixing property persistence (see 30/10/08 comment)? That's a much more important issue for us.

jason - 05/Nov/08 11:31 PM
HI TQ,

There is no separate issue, but it is very likely that the fix for this issue will include not writing the properties. This can be mildly useful, but on balance it is probably better to revert his behaviour in favour of just overriding the properties for the triggered build.

Daniel Ostermeier - 06/Nov/08 12:33 PM
resolved in 5087