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

EnvInject-Permission not shown/maintainable (after restart) correctly

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • envinject-plugin
    • Jenkins 2.47 (on Windows Server 2008 R2 x64),
      envinject 1.93.1,
      role-strategy 2.3.2, matrix-auth 1.4

      Hi!

      Since we have enabled permissions-check for the Environment Injector Plugin (note: the additional option 'Do not show injected variables' is not set), the 'Env. Inject' permission (ViewVars) is not shown/maintainable (in Manage and assign roles) after a restart of our Jenkins-master.
      [see attached image 'Sample1.png']

      Additionally, If I would save/apply the configured permissions (in this state), all envinject-related permissions were lost (I.e., all "org.jenkinsci.plugins.envinject.EnvInjectPlugin.ViewVars" permission-entries in config.xml are removed)!

      As work-around, I have to uncheck and check (and apply afterwards) the 'Enable permissions' (for Environment Injector Plugin) in 'Configure System' to restore the expected 'normal' behavior (within time after a restart).

      Best regards from Salzburg,
      Markus

          [JENKINS-42460] EnvInject-Permission not shown/maintainable (after restart) correctly

          GMC Software Development B&R Corporate created issue -
          GMC Software Development B&R Corporate made changes -
          Description Original: Hi!

          Since we have enabled permissions-check for the Environment Injector Plugin (note: the additional option 'Do not show injected variables' is not set), the 'Env. Inject' permission (ViewVars) is not shown/maintainable (in Manage and assign roles) after a restart of our Jenkins-master.
          [see attached image 'Sample1.png']

          Additionally, If I would save/apply the configured permissions (in this state), all envinject-related permissions were lost (I.e., all "org.jenkinsci.plugins.envinject.EnvInjectPlugin.ViewVars" permission-entries in config.xml are removed)!

          As work-around, I have to uncheck and check (and apply afterwards) the 'Enable permissions' (for Environment Injector Plugin) in 'Configure System' to restore the expected 'normal' behavior (after a restart).

          Best regards from Salzburg,
          Markus
          New: Hi!

          Since we have enabled permissions-check for the Environment Injector Plugin (note: the additional option 'Do not show injected variables' is not set), the 'Env. Inject' permission (ViewVars) is not shown/maintainable (in Manage and assign roles) after a restart of our Jenkins-master.
          [see attached image 'Sample1.png']

          Additionally, If I would save/apply the configured permissions (in this state), all envinject-related permissions were lost (I.e., all "org.jenkinsci.plugins.envinject.EnvInjectPlugin.ViewVars" permission-entries in config.xml are removed)!

          As work-around, I have to uncheck and check (and apply afterwards) the 'Enable permissions' (for Environment Injector Plugin) in 'Configure System' to restore the expected 'normal' behavior (int time after a restart).

          Best regards from Salzburg,
          Markus
          GMC Software Development B&R Corporate made changes -
          Description Original: Hi!

          Since we have enabled permissions-check for the Environment Injector Plugin (note: the additional option 'Do not show injected variables' is not set), the 'Env. Inject' permission (ViewVars) is not shown/maintainable (in Manage and assign roles) after a restart of our Jenkins-master.
          [see attached image 'Sample1.png']

          Additionally, If I would save/apply the configured permissions (in this state), all envinject-related permissions were lost (I.e., all "org.jenkinsci.plugins.envinject.EnvInjectPlugin.ViewVars" permission-entries in config.xml are removed)!

          As work-around, I have to uncheck and check (and apply afterwards) the 'Enable permissions' (for Environment Injector Plugin) in 'Configure System' to restore the expected 'normal' behavior (int time after a restart).

          Best regards from Salzburg,
          Markus
          New: Hi!

          Since we have enabled permissions-check for the Environment Injector Plugin (note: the additional option 'Do not show injected variables' is not set), the 'Env. Inject' permission (ViewVars) is not shown/maintainable (in Manage and assign roles) after a restart of our Jenkins-master.
          [see attached image 'Sample1.png']

          Additionally, If I would save/apply the configured permissions (in this state), all envinject-related permissions were lost (I.e., all "org.jenkinsci.plugins.envinject.EnvInjectPlugin.ViewVars" permission-entries in config.xml are removed)!

          As work-around, I have to uncheck and check (and apply afterwards) the 'Enable permissions' (for Environment Injector Plugin) in 'Configure System' to restore the expected 'normal' behavior (within time after a restart).

          Best regards from Salzburg,
          Markus
          Alvin Huang made changes -
          Attachment New: envinject_column0.jpeg [ 38427 ]
          Oleg Nenashev made changes -
          Assignee Original: Oleg Nenashev [ oleg_nenashev ]
          Markus Winter made changes -
          Component/s Original: role-strategy-plugin [ 15758 ]

            Unassigned Unassigned
            gmc_devel GMC Software Development B&R Corporate
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: