Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-41594

Role-based Authorization Strategy plugin questions/suggestions

    • 575.v4d286a_03e6d7

      Dear all,
      I installed at the office Jenkins plugin Role-based Authorization Strategy and I have some concerns/questions regarding this.It would be helpful to me if you could give me some answers,hints regarding the content below:

      1) should be a way to edit the pattern of a project. Currently it looks like the only way to change the definition of a project is to delete it and re-create it with a new definition. When doing this, it is possible to lose all the role assignments existing for that project.if you SAVE or APPLY the deletion before SAVE or APPLY of the new definition. This will not be nice for adding new model years, etc to a Project.

      2) it would be nice to equate a view to a project (i.e. define a project X as "all jobs in view X"). Then we could just add/remove jobs in a view, and this would easily update the project definition. Is it possible for the macro feature of this plugin to do that?

      3) it would be nice to be able to evaluate which jobs a Pattern matches before applying the pattern to a role. If my set of jobs/names/regular expression is at all complex, this can be difficult to determine.

      Many thanks,
      Vlad

          [JENKINS-41594] Role-based Authorization Strategy plugin questions/suggestions

          Oleg Nenashev added a comment -

          Would be nice to break it down to separate improvements. It was not assigned to me, so I have never seen the ticket

          Oleg Nenashev added a comment - Would be nice to break it down to separate improvements. It was not assigned to me, so I have never seen the ticket

          Markus Winter added a comment -
          1. Patterns can be changed easily now. There is an explicit edit button before the pattern. It was already possible to edit the pattern before by double clicking in the field, but that was hard for the longest pattern. To leave edit mode just press "Enter" while the input field has focus or click once more on the 
          2. https://github.com/jenkinsci/role-strategy-plugin/pull/219 is implementing a @ContainedInView macro that is probably what you want.
          3. The pattern in the table is a link that when clicked pops up the first 10 matches and shows the total number of matches.

          Markus Winter added a comment - Patterns can be changed easily now. There is an explicit edit button before the pattern. It was already possible to edit the pattern before by double clicking in the field, but that was hard for the longest pattern. To leave edit mode just press "Enter" while the input field has focus or click once more on the  https://github.com/jenkinsci/role-strategy-plugin/pull/219 is implementing a @ContainedInView macro that is probably what you want. The pattern in the table is a link that when clicked pops up the first 10 matches and shows the total number of matches.

          Markus Winter added a comment -

          @ContainedInView macro is released

          Markus Winter added a comment - @ContainedInView macro is released

            mawinter69 Markus Winter
            vladoparlescu Vlad Oparlescu
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: