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

[JEP-224] System read permissions #27

Merged
merged 3 commits into from
Jun 19, 2020
Merged

[JEP-224] System read permissions #27

merged 3 commits into from
Jun 19, 2020

Conversation

res0nance
Copy link
Contributor

@res0nance res0nance commented May 24, 2020

Add JEP-224 system read support.

Screenshots show non logged in user with system read access

Screenshots

image

image

Copy link
Member

@oleg-nenashev oleg-nenashev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds about right. Will need a follow-up update for Manage permissions AFAICT.

@timja
Copy link
Member

timja commented Jun 19, 2020

@aheritier

@aheritier
Copy link
Member

@res0nance @oleg-nenashev @timja it looks good to me but I have a doubt for the "cleanup" action at the jobs level

<s:link href="clean/?job=${e.fullName}" post="true">run cleanup</s:link>

public void doClean(StaplerRequest req, StaplerResponse res) throws IOException, ServletException {

We are forcing the logRotate (which is less useful now there is a global setting) but I am not sure about the permission to do it. With this change are we opening it to all people with a SYSTEM.READ access ?

@timja
Copy link
Member

timja commented Jun 19, 2020

Reviewed that, I don't think there's an issue here.

The only action the user is taking is invoking a pre-configured log rotator, and forcing it to run now.
They can't modify anything, it's a similar case to allowing updating the update center cache in the plugin center.

pom.xml Outdated Show resolved Hide resolved
Co-authored-by: Tim Jacomb <[email protected]>
pom.xml Show resolved Hide resolved
Copy link
Member

@aheritier aheritier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

4 participants