-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
[JEP-223] Deprecate permissions RUN_SCRIPTS, UPLOAD_PLUGINS, and CONFIGURE_UPDATECENTER #4365
Merged
Merged
Changes from 15 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
e9b2a73
Flag RUN_SCRIPTS permission as deprecated
mikecirioli 825afaa
Change permission checks for RUN_SCRIPTS to check for ADMINISTER
mikecirioli ede3a6d
flag UPLOAD_PLUGINS as deprecated
mikecirioli adc4ef8
change checks for UPLOAD_PLUGINS to check for ADMINISTER
mikecirioli 779ccd1
flag CONFIGURE_UPDATECENTER as deprecated
mikecirioli 3b70d30
change permission checks for CONFIGURE_UPDATECENTER to check for ADMI…
mikecirioli 2bcad23
Update core/src/main/java/jenkins/model/Jenkins.java
mikecirioli aa0f378
Update core/src/main/java/jenkins/management/ConsoleLink.java
mikecirioli 953a5ee
Update core/src/main/java/jenkins/management/ConsoleLink.java
mikecirioli db42863
Update core/src/main/java/jenkins/management/ConsoleLink.java
mikecirioli caed539
Revert "Update core/src/main/java/jenkins/management/ConsoleLink.java"
mikecirioli e7bc69d
make the deprecated permissions == Jenkins.ADMINISTER, since that is …
mikecirioli 63af530
Check for Jenkins.ADMINISTER instead of Jenkins.RUN_SCRIPTS
mikecirioli b8e6d4d
Update jelly checks for deprecated permissions to now check for
mikecirioli 3eaaf12
Fix broken test that checked for RUN_SCRIPTS
mikecirioli 8b72487
Revert "make the deprecated permissions == Jenkins.ADMINISTER, since …
mikecirioli 17063fe
re-enable setting dangerous permissions == Jenkins.ADMINISTER
mikecirioli 6dfa633
remove commented code
mikecirioli 543ab06
fixup javadocs for deprecated permissions
mikecirioli 61be95d
Merge branch 'master' into deprecate_risky_perms
mikecirioli b300f46
fix broken javadoc link
mikecirioli 00dd15b
Merge branch 'deprecate_risky_perms' of github.com:mikecirioli/jenkin…
mikecirioli f87fc3a
Revert "remove commented code"
mikecirioli df2c0a8
Reverts explicity making dangerous permissions == Jenkins.ADMINISTER
mikecirioli 3ff6a56
Update english descriptive text properties for dangerous permissions
mikecirioli 0491ee6
fix: do not use deprecated getActiveInstance()
mikecirioli 1e308ac
This broken test
mikecirioli db4ae53
add comment to update test once RUN_SCRIPTS has been retired
mikecirioli 625fc45
nit: add space
mikecirioli 51276ea
nit: add space
mikecirioli 7ab354e
nit: add space
mikecirioli cd1adf4
remove un-needed permission checks in plugimanager jelly files
mikecirioli 8050bf3
remove localizations of deprecated permissions
mikecirioli 16ffec7
revert italian locazation that got bungled on local system
mikecirioli 2019f8d
remove deprecated perms from italian localizations
mikecirioli File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strictly speaking, none of the permission checks in this file matter, but if System Read is about to land, it probably makes sense to keep them.