Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311912 - Allow committers to rename jobs they can modify
Summary: Allow committers to rename jobs they can modify
Status: RESOLVED FIXED
Alias: None
Product: Hudson
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Winston Prakash CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-06 11:26 EDT by Steve Powell CLA
Modified: 2013-07-02 15:41 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Powell CLA 2010-05-06 11:26:14 EDT
Presently although I can modify Hudson jobs (for which I have admin/modify permissions) I cannot rename them. I discover this part-way through the rename process on the Hudson GUI.

This is apparently because I am not granted create permission for a job, and rename is (probably) implemented as a create(clone) followed by a delete, each of which is checked for permissions.

Please implement rename as a separately controlled action with its own independent permissions control.
Comment 1 Nick Boldt CLA 2010-05-11 10:10:15 EDT
For which job do you need this control? Perhaps the existing "Delete" access will allow you to do a rename?
Comment 2 Steve Powell CLA 2010-05-12 12:06:40 EDT
(In reply to comment #1)
> For which job do you need this control? Perhaps the existing "Delete" access
> will allow you to do a rename?

It was virgo.web-server.snapshot (or something) and it was named virg.web-server.snapshot (or something).  The initial set-up doesn't give me delete permission (and I understand why not) although I can grant myself delete.  but the message I got out when I tried to rename it was that I didn't have CREATE permission (which indeed I do not, and cannot obtain).

The job I was attempting to rename has been renamed by admin. I shouldn't need DELETE permission to rename; thus the enhancement request.
Comment 3 Eclipse Webmaster CLA 2012-03-30 10:29:12 EDT
Moving to the Hudson project.  As far as I can tell you are correct the permissions simply aren't granular enough to grant delete and create permissions on a 'per job' basis.

-M.
Comment 4 Winston Prakash CLA 2013-07-02 15:41:02 EDT
We have implemented Team Concept in Hudson.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=406601

This issue can be solved through this multi-tenancy or using Role Strategy plugin (http://wiki.hudson-ci.org/display/HUDSON/Role+Strategy+Plugin)