Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8727639
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T08:28:23+00:00 2026-06-13T08:28:23+00:00

I am writing a plugin for an external app authentication with jenkins. I want

  • 0

I am writing a plugin for an external app authentication with jenkins. I want to delegate authorization logic to the external app. The external app has NONE, VIEW, EDIT and ALL permission for a user.

NONE is straightforward – just allow nothing

ALL is straightforward – allow everything

For EDIT and VIEW, I want these permissions:

VIEW should be able to view all jobs and views, but no configuration and can not change anything

EDIT should be able to view all jobs and views, create new views, create new jobs, edit jobs, but not access jenkins system configuration.

I can see these permissions in jenkins:

[ 0] Permission[class hudson.model.Hudson,Administer]
[ 1] Permission[class hudson.security.Permission,FullControl]
[ 2] Permission[class hudson.security.Permission,GenericRead]
[ 3] Permission[class hudson.security.Permission,GenericWrite]
[ 4] Permission[class hudson.security.Permission,GenericCreate]
[ 5] Permission[class hudson.security.Permission,GenericUpdate]
[ 6] Permission[class hudson.security.Permission,GenericDelete]
[ 7] Permission[class hudson.security.Permission,GenericConfigure]
[ 8] Permission[class hudson.model.Hudson,Read]
[ 9] Permission[class hudson.model.Hudson,RunScripts]
[10] Permission[interface hudson.model.Item,Create]
[11] Permission[interface hudson.model.Item,Delete]
[12] Permission[interface hudson.model.Item,Configure]
[13] Permission[interface hudson.model.Item,Read]
[14] Permission[interface hudson.model.Item,ExtendedRead]
[15] Permission[interface hudson.model.Item,Build]
[16] Permission[interface hudson.model.Item,Workspace]
[17] Permission[interface hudson.model.Item,WipeOut]
[18] Permission[class hudson.model.View,Create]
[19] Permission[class hudson.model.View,Delete]
[20] Permission[class hudson.model.View,Configure]

Which Jenkins permissions from above list should I use for EDIT and VIEW?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T08:28:24+00:00Added an answer on June 13, 2026 at 8:28 am

    Start with conservative rights:

    • no hudson.security.Permission,Generic* for either VIEW or EDIT, also no RunScripts (add for EDIT only if you notice it is needed),
    • other hudson.model.* permissions for EDIT (maybe not deletes, question does not specify),
    • only basic read permissions for VIEW, add ExtendedRead for VIEW only if you don’t get to view all you need without it (that is probably for viewing job configurations, I guess, but try without it first).

    For authoritative answer, check Jenkins source, but trial and error starting from the conservative side should give you optimal answer with just a few iterations.

    I guess you’d like a full list of correct permissions as an answer, but that would really require testing before answering, or careful inspection of source to see where these are checked, and then you would have to test yourself anyway to be safe (since this is security related question on an anonymous forum).

    Related (and only one I know of) link to Jenkins documentation, about actually using permissions, which may help in grepping the source code: https://wiki.jenkins-ci.org/display/JENKINS/Making+your+plugin+behave+in+secured+Jenkins

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing a plugin that's modifying an existing UI. One thing I want to
I am writing a plugin for wordpress and I want to create my own
I am writing a plugin for a cms that has jQuery embedded at the
I'm writing a plugin which creates a custom post_type called dictionary_entry which has several
I'm writing a plugin that makes use of the wp_mail function. However I want
So i'm writing a plugin for wordpress and one of the pages has information
I'm writing a java app using eclipse which references a few external jars and
I'm writing plugin for eclipse which should be XML editor with 2 pages: the
I'm writing a plugin where I would need to Bind a parameter. Sometimes I
I'm writing a plugin for Autodesk Navisworks, trying to pass a C# unicode string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.