[JIRA] [ownership-plugin] (JENKINS-24475) Managing ownership not possible

2014-09-30 Thread stephan.kr...@ecg-leipzig.de (JIRA)














































Stephan Krull
 commented on  JENKINS-24475


Managing ownership not possible















updated to ownership 0.5.1; changed email resolver in system configuration to ldap; created job and tried to manage ownership - this is the favored use case in production mode - everything works fine. thank you! 



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [ownership-plugin] (JENKINS-24475) Managing ownership not possible

2014-09-30 Thread o.v.nenas...@gmail.com (JIRA)














































Oleg Nenashev
 commented on  JENKINS-24475


Managing ownership not possible















Release ownership-0.5.1 with a fix.
http://repo.jenkins-ci.org/simple/releases/com/synopsys/jenkinsci/ownership/0.5.1/

Probably, an additional hotfix will be required



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [ownership-plugin] (JENKINS-24475) Managing ownership not possible

2014-09-30 Thread o.v.nenas...@gmail.com (JIRA)














































Oleg Nenashev
 commented on  JENKINS-24475


Managing ownership not possible















"Setup after creation" has been replaced by an extension point, but I haven't removed the configuration entry (created JENKINS-24921). Ownership management policy is a replacement



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [ownership-plugin] (JENKINS-24475) Managing ownership not possible

2014-09-29 Thread stephan.kr...@ecg-leipzig.de (JIRA)












































  
Stephan Krull
 edited a comment on  JENKINS-24475


Managing ownership not possible
















I checked your snapshot HPI with Jenkins 1.565.1, fresh installation. Same as before, installing ownership plugin, checking "Require Configure rights" and "Setup after creation" in system configuration, security configuration with Jenkins internal, registering a test user, logging in, creating a job.

Managing ownership of a job works with that environment, but there is another bug:


Snapshot1: system configuration for ownership plugin - expecting to give ownership of a newly created job to the current loggin in user


Snapshot2: new created job summary view; has been created by loggin in user "stephan (test)"


Snapshot3: view of system configuration for ownership plugin

As you can see the system configuration does not respect checking of "Setup after creation", this could be the reason for the unowned new job (see Snapshot2). 



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [ownership-plugin] (JENKINS-24475) Managing ownership not possible

2014-09-29 Thread stephan.kr...@ecg-leipzig.de (JIRA)














































Stephan Krull
 updated  JENKINS-24475


Managing ownership not possible
















Change By:


Stephan Krull
(30/Sep/14 6:40 AM)




Attachment:


own_fix_check_1.png





Attachment:


own_fix_check2.png





Attachment:


own_fix_check3.png



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [ownership-plugin] (JENKINS-24475) Managing ownership not possible

2014-09-29 Thread stephan.kr...@ecg-leipzig.de (JIRA)














































Stephan Krull
 commented on  JENKINS-24475


Managing ownership not possible















I checked your snapshot HPI with Jenkins 1.565.1, fresh installation. Same as before, installing ownership plugin, checking "Require Configure rights" and "Setup after creation" in system configuration, security configuration with Jenkins internal, registering a test user, logging in, creating a job.

Managing ownership of a job works with that environment, but there is another bug:

Unable to render embedded object: File (own_fix_check_1.png) not found.
Snapshot1: system configuration for ownership plugin - expecting to give ownership of a newly created job to the current loggin in user

Unable to render embedded object: File (own_fix_check2.png) not found.
Snapshot2: new created job summary view; has been created by loggin in user "stephan (test)"

Unable to render embedded object: File (own_fix_check3.png) not found.
Snapshot3: view of system configuration for ownership plugin

As you can see the system configuration does not respect checking of "Setup after creation", this could be the reason for the unowned new job (see Snapshot2). 



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [ownership-plugin] (JENKINS-24475) Managing ownership not possible

2014-09-29 Thread o.v.nenas...@gmail.com (JIRA)














































Oleg Nenashev
 updated  JENKINS-24475


Managing ownership not possible
















Sorry for a long resolution delay. Too many business trips.

The issue has been caused by "unknown" user, which became invalid in several core's Security Realms.

I've attached the SNAPSHOT version of the plugin with the fix. Please confirm it works on your installation.





Change By:


Oleg Nenashev
(29/Sep/14 12:09 PM)




Attachment:


ownership.hpi



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [ownership-plugin] (JENKINS-24475) Managing ownership not possible

2014-09-29 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-24475


Managing ownership not possible















Code changed in jenkins
User: Oleg Nenashev
Path:
 src/main/java/com/synopsys/arc/jenkins/plugins/ownership/security/authorizeproject/OwnershipAuthorizeProjectStrategy.java
 src/main/java/com/synopsys/arc/jenkins/plugins/ownership/util/userFilters/AccessRightsFilter.java
http://jenkins-ci.org/commit/ownership-plugin/ff1ef42857904efe7ed886c0f39ed48a0f50a5b3
Log:
  [FIXED JENKINS-24475] - Properly handle UsernameNotFoundException on impersonation

This change allows to avoid non-existent users introduced since 1.564.1.
The change also handles a possible issue in OwnershipAuthorizeProjectStrategy.

Signed-off-by: Oleg Nenashev 





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [ownership-plugin] (JENKINS-24475) Managing ownership not possible

2014-09-29 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-24475


Managing ownership not possible















Code changed in jenkins
User: Oleg Nenashev
Path:
 src/main/java/com/synopsys/arc/jenkins/plugins/ownership/OwnershipDescription.java
 src/main/java/com/synopsys/arc/jenkins/plugins/ownership/OwnershipPlugin.java
 src/main/java/com/synopsys/arc/jenkins/plugins/ownership/jobs/OwnershipItemListener.java
 src/main/java/com/synopsys/arc/jenkins/plugins/ownership/security/authorizeproject/OwnershipAuthorizeProjectStrategy.java
 src/main/java/com/synopsys/arc/jenkins/plugins/ownership/util/AbstractOwnershipHelper.java
 src/main/java/com/synopsys/arc/jenkins/plugins/ownership/util/HTMLFormatter.java
 src/main/java/com/synopsys/arc/jenkins/plugins/ownership/util/OwnershipDescriptionHelper.java
 src/main/java/com/synopsys/arc/jenkins/plugins/ownership/util/UserCollectionFilter.java
 src/main/java/com/synopsys/arc/jenkins/plugins/ownership/util/UserStringFormatter.java
 src/main/java/com/synopsys/arc/jenkins/plugins/ownership/util/UserWrapper.java
 src/main/java/com/synopsys/arc/jenkins/plugins/ownership/util/userFilters/AccessRightsFilter.java
 src/main/java/com/synopsys/arc/jenkins/plugins/ownership/util/userFilters/IUserFilter.java
 src/main/java/com/synopsys/arc/jenkins/plugins/ownership/util/userFilters/UserComparator.java
http://jenkins-ci.org/commit/ownership-plugin/0b1dac28f29d31b544cf2778c93c25c64a6770a5
Log:
  Merge pull request #27 from synopsys-arc-oss/JENKINS-24475

JENKINS-24475 and refactoring


Compare: https://github.com/jenkinsci/ownership-plugin/compare/0581a8055ffd...0b1dac28f29d




























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [ownership-plugin] (JENKINS-24475) Managing ownership not possible

2014-09-29 Thread scm_issue_l...@java.net (JIRA)















































SCM/JIRA link daemon
 resolved  JENKINS-24475 as Fixed


Managing ownership not possible
















Change By:


SCM/JIRA link daemon
(29/Sep/14 11:58 AM)




Status:


In Progress
Resolved





Resolution:


Fixed



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.