Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to guide people away from implementing RoleSensitive manually #56

Merged
merged 3 commits into from
Aug 5, 2015

Conversation

jglick
Copy link
Member

@jglick jglick commented Aug 3, 2015

After about the seventeenth Jenkins plugin pull request (most recently jenkinsci/analysis-core-plugin#31) featuring something like

@Override
public void checkRoles(RoleChecker checker) throws SecurityException {
    // TODO what do we need to do here?
}

I am trying to guide people to the answer, in case they read Javadoc anyway.

(For SECURITY-144 we explicitly decided to introduce RoleSensitive despite the source incompatibility, while keeping a binary-compatible runtime behavior, since every plugin author really must decide how a given callable is intended to be used.)

@reviewbybees

@ghost
Copy link

ghost commented Aug 3, 2015

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

@KostyaSha
Copy link
Member

👍

@recena
Copy link

recena commented Aug 3, 2015

🐝

jglick referenced this pull request in jenkinsci/google-storage-plugin Aug 3, 2015
jglick referenced this pull request in jenkinsci/cvs-plugin Aug 3, 2015
Upgraded the parent project to version 1.607. Made the necessary changes
to get rid of the compiler errors.

For classes that extended AbstractScmTagAction, I had to change the
constructor to accept a Run object, instead of an AbstractBuild, to
eliminate an ambiguous reference when compiling.
jglick referenced this pull request in jenkinsci/elasticbox-plugin Aug 3, 2015
jglick referenced this pull request in jenkinsci/xunit-plugin Aug 3, 2015
jglick referenced this pull request in jenkinsci/zaproxy-plugin Aug 3, 2015
jglick referenced this pull request in jenkinsci/violations-plugin Aug 3, 2015
…INS-28880

* Avoiding crash when setting Maven2 build to UNSTABLE. By simply catching the IllegalStateException. This is not the final solution. The build will still not be marked as unstable, instead of crashing (FAIL) it will succeed (SUCCESS). Instead of showing no violation results, it will show them.
* Making the example projects compile
 * Testing example projects in web tests
* Stepping up Jenkins version to 1.580.3
* Adding Java 8 to Travis config
 * Using Firefox and Xvfb in Travis CI, HTMLUnit is a bit unpredictable
jglick referenced this pull request in jenkinsci/scoverage-plugin Aug 3, 2015
jglick referenced this pull request in jenkinsci/radargun-plugin Aug 3, 2015
jglick referenced this pull request in jenkinsci/semantic-versioning-plugin Aug 3, 2015
- introduced "naming strategies" to make that part extendable separate from the parsers
-
jglick referenced this pull request in jenkinsci/groovy-plugin Aug 3, 2015
jglick referenced this pull request in jenkinsci/active-choices-plugin Aug 3, 2015
…sion and Descriptors for multiple script types
jglick referenced this pull request in jenkinsci/cmakebuilder-plugin Aug 3, 2015
@jenkinsadmin
Copy link
Member

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

@vjuranek
Copy link
Member

vjuranek commented Aug 4, 2015

👍 (being one who got confused by javadoc, thanks @jglick for pointing out all wrong commits!)

@vjuranek
Copy link
Member

vjuranek commented Aug 4, 2015

btw: I would consider also adding a link to corresponding wiki page to provide more information for those who are interested in more details or are still unsure what to do.

@jtnord
Copy link
Member

jtnord commented Aug 5, 2015

🐝

jglick added a commit that referenced this pull request Aug 5, 2015
Trying to guide people away from implementing RoleSensitive manually
@jglick jglick merged commit 6fb8f96 into jenkinsci:master Aug 5, 2015
@jglick jglick deleted the RoleSensitive-Javadoc branch August 5, 2015 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants